Class: SessionTimeoutPrompter::SessionsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- SessionTimeoutPrompter::SessionsController
- Defined in:
- app/controllers/session_timeout_prompter/sessions_controller.rb
Instance Method Summary collapse
-
#new ⇒ Object
We arrive here when clicking “Log in again” Note: Due to inherent inaccuracies in javascript timing it is a good idea to override this in your app and destroy the user session to make sure they are actually logged out as this may cause confusion.
Instance Method Details
#new ⇒ Object
We arrive here when clicking “Log in again” Note: Due to inherent inaccuracies in javascript timing it is a good idea to override this in your app and destroy the user session to make sure they are actually logged out as this may cause confusion.
8 9 10 |
# File 'app/controllers/session_timeout_prompter/sessions_controller.rb', line 8 def new redirect_to main_app.root_path end |