Method: ExvoAuth::Controllers::Base#sign_in_and_redirect!
- Defined in:
- lib/exvo_auth/controllers/base.rb
#sign_in_and_redirect! ⇒ Object
Omniauth - Usually this method is called from your sessions#create.
32 33 34 35 36 |
# File 'lib/exvo_auth/controllers/base.rb', line 32 def sign_in_and_redirect! set_user_session_from_oauth redirect_to session[:user_return_to] || "/" end |