view cleanup
This commit is contained in:
parent
0daf487816
commit
0872730d8d
40 changed files with 195 additions and 452 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue