Method: Devise::RegistrationsController#after_update_path_for
- Defined in:
- app/controllers/devise/registrations_controller.rb
#after_update_path_for(resource) ⇒ Object (protected)
The default url to be used after updating a resource. You need to overwrite this method in your own RegistrationsController.
126 127 128 |
# File 'app/controllers/devise/registrations_controller.rb', line 126 def after_update_path_for(resource) sign_in_after_change_password? ? signed_in_root_path(resource) : new_session_path(resource_name) end |