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:
parent
0afab5296c
commit
47a43a888c
3 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue