diff options
| author | mo khan <mo@mokhan.ca> | 2014-09-08 20:42:49 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-09-08 20:42:49 -0600 |
| commit | 52efeb63390e2831c9e922063efad1ef299a6644 (patch) | |
| tree | ad51ba5f6b4d05c2191a2b0c652b9a29034505e2 /app/controllers/application_controller.rb | |
| parent | acdec9c3e8e34eacea5bc7e58e11246d717da7dc (diff) | |
disable extending session cookies.
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 46ce3dd3..f6abcd89 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 :load_header before_action :configure_permitted_parameters, if: :devise_controller? - before_action :extend_session_cookie + #before_action :extend_session_cookie helper_method :current_user, :user_signed_in? rescue_from ActiveRecord::RecordNotFound, with: :record_not_found |
