You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll have to create a PasswordsController in your app that inherits from Devise::PasswordsController, implement only the after_sending_reset_password_instructions_path_for(resource_name) method and when setting the routes tell devise to use your controller.
classPasswordsController < Devise::PasswordsControllerprotecteddefafter_sending_reset_password_instructions_path_for(resource_name)#return your pathendend
Remember to update your routes.rb-file to use this custom controller: