Class: ClearanceMailer

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

Instance Method Summary collapse

Instance Method Details

#change_password(user) ⇒ Object



2
3
4
5
6
7
8
9
10
11
12
# File 'app/mailers/clearance_mailer.rb', line 2

def change_password(user)
  @user = user
  mail(
    from: Clearance.configuration.mailer_sender,
    to: @user.email,
    subject: I18n.t(
      :change_password,
      scope: [:clearance, :models, :clearance_mailer]
    ),
  )
end