Class: LotusAdmin::UserMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/lotus_admin/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#invited(user, token) ⇒ Object



3
4
5
6
7
8
# File 'app/mailers/lotus_admin/user_mailer.rb', line 3

def invited(user, token)
  @resource = user
  @token = token

   mail to: user.email, subject: default_i18n_subject(app: I18n.t('app.name'))
end