metamaps--metamaps/app/controllers/users/passwords_controller.rb
2016-09-24 11:00:46 +08:00

12 lines
333 B
Ruby

# frozen_string_literal: true
class Users::PasswordsController < Devise::PasswordsController
protected
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