Merge pull request #640 from metamaps/fix/password-reset-error

fix password reset error
This commit is contained in:
Devin Howard 2016-09-22 09:16:25 +08:00 committed by GitHub
commit b13ebc6716

View file

@ -1,7 +1,11 @@
class Users::PasswordsController < Devise::PasswordsController
protected
def after_resetting_password_path_for(resource)
signed_in_root_path(resource)
end
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
end