Module: Warden::Mixins::Common
- Included in:
- Devise::FailureApp
- Defined in:
- lib/devise/rails/warden_compat.rb
Instance Method Summary collapse
Instance Method Details
#request ⇒ Object
2 3 4 |
# File 'lib/devise/rails/warden_compat.rb', line 2 def request @request ||= env['action_controller.rescue.request'] end |
#reset_session! ⇒ Object
6 7 8 9 |
# File 'lib/devise/rails/warden_compat.rb', line 6 def reset_session! raw_session.inspect # why do I have to inspect it to get it to clear? raw_session.clear end |
#response ⇒ Object
11 12 13 |
# File 'lib/devise/rails/warden_compat.rb', line 11 def response @response ||= env['action_controller.rescue.response'] end |