1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 13:35:21 +02:00

Make the password reset mailer a bit more...beefy

This commit is contained in:
Josh Pigford 2024-10-09 09:03:21 -05:00
parent 0afab5296c
commit 47a43a888c
3 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,9 @@
class PasswordMailer < ApplicationMailer
def password_reset
mail to: params[:user].email
@user = params[:user]
@subject = t(".subject")
@cta = t(".cta")
mail to: @user.email, subject: @subject
end
end