mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
This is used as a complement to `stored_location_for`. Example: Before authorizing with Omniauth; store_location_for(:user, dashboard_path) redirect_to user_omniauth_authorize_path(:facebook) In our Omniauth callback sign_in(user) redirect_to stored_location_for(:user) || root_path