Class: Admix::SessionsController

Inherits:
Devise::SessionsController
  • Object
show all
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 (resource)
  request.env['omniauth.origin'] || session[:admix_user_return_to] || admix_root_path
end