Rails, How to set redirect path after devise updating password
This post is all about how to change redirect url after devise update password (or any?). By default, devise after change password successfully, it will redirect to the root url. There are step you have to do to change the redirect path.
Make devise controllers Or generate using command
rails g devise:controllers user
After generating, because I want to change the redirect url after changing password. The only file I concern is
passwords_controller.rb, the method you have to override is
after_resetting_password_path_for, within this method, you have to declare your favorite redirect url.