view cleanup

This commit is contained in:
Wojciech Todryk 2012-03-24 18:09:31 +01:00
parent 0daf487816
commit 0872730d8d
40 changed files with 195 additions and 452 deletions

View file

@ -90,12 +90,6 @@ class ApplicationController < ActionController::Base
##################################### private section ##########################################
private
def plugins_configuration
WillPaginate::ViewHelpers.pagination_options[:previous_label] = t(:previous_page,:scope=>:common)
WillPaginate::ViewHelpers.pagination_options[:next_label] = t(:next_page,:scope=>:common)
end
end

View file

@ -80,7 +80,7 @@ class UserController < ApplicationController
#@server.user_id = @user.id
#@server.save
Prefs.create_default(@user)
Server.create_defaults(@user)
Server.create_server(@user,@server.name)
flash[:success] = t(:setup_done,:scope=>:user)
redirect_to :action => 'login'
else