Method: Devise::PasswordsController#edit

Defined in:
app/controllers/devise/passwords_controller.rb

#editObject

GET /resource/password/edit?reset_password_token=abcdef



26
27
28
29
30
# File 'app/controllers/devise/passwords_controller.rb', line 26

def edit
  self.resource = resource_class.new
  set_minimum_password_length
  resource.reset_password_token = params[:reset_password_token]
end