app/mailers/notify_mailer.rb
def password_change(user, _opts = {})
    set_template(:change_password)

    set_personalisation(
      drafts_url: users_drafts_url,
    )

    mail(to: user.email)
  end
# Triggered automatically by Devise when the user changes its password.
# Do not change the method name unless you configure Devise with the new name.
Triggered automatically by Devise when the user changes its password.
Do not change the method name unless you configure Devise with the new name.
Triggered automatically by Devise when the user changes its password . Do not change the method name unless you configure Devise with the new name .
def password_change(user, _opts = {})
    set_template(:change_password)
    set_personalisation(
      drafts_url: users_drafts_url,
    )
    mail(to: user.email)
  end
def password_change ( user , _opts = { } ) set_template ( :change_password ) set_personalisation ( drafts_url : users_drafts_url , ) mail ( to : user . email ) end
Triggered automatically by Devise when the user changes its password.
Triggered automatically by Devise when the user changes its password .
user
_opts