Newer
Older
dmpopidor / app / controllers / passwords_controller.rb
@Bodacious Bodacious on 13 Aug 2018 432 bytes Replace YARD documentation with Tomdoc
class PasswordsController < Devise::PasswordsController

	protected

	def after_resetting_password_path_for(resource)
    root_path
  end

  ##
  # Override Devise default behaviour by sending user to the home page
  # after the password reset email has been sent
  #
  # resource_name - The user's email address
  #
  # Returns String
  def after_sending_reset_password_instructions_path_for(resource_name)
    root_path
  end

end