Class: BlueLightSpecialMailer

Inherits:
MadMimiMailer
  • Object
show all
Defined in:
app/models/blue_light_special_mailer.rb

Instance Method Summary collapse

Instance Method Details

#mimi_change_password(user) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'app/models/blue_light_special_mailer.rb', line 3

def mimi_change_password(user)
  from       BlueLightSpecial.configuration.mailer_sender
  recipients user.email
  subject    I18n.t(:change_password,
                    :scope   => [:blue_light_special, :models, :blue_light_special_mailer],
                    :default => "Change your password")
  body       :url => edit_user_password_url(user,
                     :token  => user.password_reset_token,
                     :escape => false)
end

#mimi_welcome(user) ⇒ Object



14
15
16
17
18
19
20
# File 'app/models/blue_light_special_mailer.rb', line 14

def mimi_welcome(user)
  from       BlueLightSpecial.configuration.mailer_sender
  recipients user.email
  subject    I18n.t(:welcome,
                    :scope   => [:blue_light_special, :models, :blue_light_special_mailer],
                    :default => "Welcome")
end