metamaps--metamaps/app/controllers/users/passwords_controller.rb

12 lines
302 B
Ruby
Raw Normal View History

2014-10-07 17:46:09 -04:00
class Users::PasswordsController < Devise::PasswordsController
protected
2016-09-15 07:18:15 +08:00
def after_resetting_password_path_for(resource)
signed_in_root_path(resource)
end
def after_sending_reset_password_instructions_path_for(resource_name)
new_user_session_path if is_navigational_format?
end
2015-09-19 16:26:34 +08:00
end