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

13 lines
324 B
Ruby
Raw Permalink Normal View History

2016-09-24 03:00:46 +00:00
# frozen_string_literal: true
2014-10-07 21:46:09 +00:00
class Users::PasswordsController < Devise::PasswordsController
protected
2016-09-14 23:18:15 +00:00
def after_resetting_password_path_for(resource)
signed_in_root_path(resource)
end
2016-09-24 03:00:46 +00:00
def after_sending_reset_password_instructions_path_for(_resource_name)
2016-10-19 04:40:52 +00:00
sign_in_path if is_navigational_format?
2016-09-14 23:18:15 +00:00
end
2015-09-19 08:26:34 +00:00
end