Class: AuthenticateMailer

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

Overview

Authenticate mailer.

Handles password change requests.

Instance Method Summary collapse

Instance Method Details

#change_password(user) ⇒ Object


5
6
7
8
9
10
# File 'app/mailers/authenticate_mailer.rb', line 5

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