Method: Devise::FailureApp#store_location!
- Defined in:
- lib/devise/failure_app.rb
#store_location! ⇒ Object (protected)
Stores requested URI to redirect the user after signing in. We can’t use the scoped session provided by warden here, since the user is not authenticated yet, but we still need to store the URI based on scope, so different scopes would never use the same URI to redirect.
248 249 250 |
# File 'lib/devise/failure_app.rb', line 248 def store_location! store_location_for(scope, attempted_path) if request.get? && !http_auth? end |