app/mailers/notify_mailer.rb
def reset_password_instructions(user, token, _opts = {})
    set_template(:reset_password)

    set_personalisation(
      reset_password_url: edit_user_password_url(reset_password_token: token),
    )

    mail(to: user.email)
  end
# Triggered automatically by Devise when the user resets its password.
# Do not change the method name unless you configure Devise with the new name.
Triggered automatically by Devise when the user resets its password.
Do not change the method name unless you configure Devise with the new name.
Triggered automatically by Devise when the user resets its password . Do not change the method name unless you configure Devise with the new name .
def reset_password_instructions(user, token, _opts = {})
    set_template(:reset_password)
    set_personalisation(
      reset_password_url: edit_user_password_url(reset_password_token: token),
    )
    mail(to: user.email)
  end
def reset_password_instructions ( user , token , _opts = { } ) set_template ( :reset_password ) set_personalisation ( reset_password_url : edit_user_password_url ( reset_password_token : token ) , ) mail ( to : user . email ) end
Triggered automatically by Devise when the user resets its password.
Triggered automatically by Devise when the user resets its password .
user
token
_opts