Class: Spina::UserMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/spina/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#forgot_password(user) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'app/mailers/spina/user_mailer.rb', line 5

def forgot_password(user)
  @user = user

  mail(
    to: @user.email, 
    from: .email, 
    subject: t('spina.forgot_password.mail_subject')
  )
end