Class: AuthenticateMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/authenticate_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/authenticate_mailer.rb', line 2

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