diff options
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 35279572..fdefb9c2 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -5,7 +5,6 @@ class ApplicationController < ActionController::Base before_filter :load_categories before_filter :load_tutorials before_filter :load_users - before_filter :load_user before_filter :configure_permitted_parameters, if: :devise_controller? private @@ -27,10 +26,6 @@ class ApplicationController < ActionController::Base @top_members = User.order(:creations_count => :desc).limit(3) end - def load_user - @user = current_user if current_user - end - protected def configure_permitted_parameters |
