diff options
| author | mo khan <mo@mokhan.ca> | 2016-05-03 13:53:47 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-05-03 13:53:47 -0600 |
| commit | 440bb11416e2335cbbb4abdfc2ea60f9c32ed84f (patch) | |
| tree | 18183543df17d01dfb7a9dce4010e870b97ef1cc /app/controllers/application_controller.rb | |
| parent | c9b35df01922631815d79afb6bf496d40dfd932f (diff) | |
allow for multiple filters when searching for a gym to add.
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 976e38e..bd923d6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -4,7 +4,7 @@ class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :authenticate! rescue_from ActiveRecord::RecordNotFound, with: :record_not_found - helper_method :current_user, :feature_available? + helper_method :current_user, :current_session, :feature_available? protected |
