Class: MimiMailer
- Inherits:
-
MadMimiMailer
- Object
- MadMimiMailer
- MimiMailer
- Defined in:
- app/models/mimi_mailer.rb
Instance Method Summary collapse
Instance Method Details
#confirmation(user) ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'app/models/mimi_mailer.rb', line 22 def confirmation(user) from BlueLightSpecial.configuration.mailer_sender recipients user.email subject I18n.t(:confirmation, :scope => [:blue_light_special, :models, :blue_light_special_mailer], :default => "Account confirmation") body :user => user end |
#mimi_change_password(user) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'app/models/mimi_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/mimi_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 |