| Module | Refinery::AuthenticatedSystem |
| In: |
lib/refinery/authenticated_system.rb
|
Redirect to the URI stored by the most recent store_location call or to the passed default.
Pops the stored url, trims the sneaky "//" from it, and returns it.
Making sure bad urls aren‘t stored in the first place should probably be a part of the Devise::FailureApp
Store the URI of the current request in the session.
We can return to this location by calling redirect_back_or_default.