Class: User::SessionsController

Inherits:
Devise::SessionsController
  • Object
show all
Defined in:
app/controllers/user/sessions_controller.rb

Instance Method Summary collapse

Instance Method Details

#after_sign_in_path_for(resource) ⇒ Object



4
5
6
# File 'app/controllers/user/sessions_controller.rb', line 4

def (resource)
  params[:return_to] || super
end