diff options
| author | mo khan <mo@mokhan.ca> | 2013-12-31 22:16:56 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-12-31 22:16:56 -0700 |
| commit | 4b06847a226e2d10356d49c09df285afed048e5c (patch) | |
| tree | 75f89ed6749229493dedf19b301e81e6eb63710f /app/controllers/application_controller.rb | |
| parent | c7ab870f7acaa337dbd3f94a1a99b3a9267c2493 (diff) | |
remove load_user interceptor from application controller.
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 |
