Class: Admix::SessionsController
- Inherits:
-
Devise::SessionsController
- Object
- Devise::SessionsController
- Admix::SessionsController
- Defined in:
- app/controllers/admix/sessions_controller.rb
Instance Method Summary collapse
Instance Method Details
#after_sign_in_path_for(resource) ⇒ Object
5 6 7 |
# File 'app/controllers/admix/sessions_controller.rb', line 5 def after_sign_in_path_for(resource) request.env['omniauth.origin'] || session[:admix_user_return_to] || admix_root_path end |