Class: ClearanceMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ClearanceMailer
- Defined in:
- app/models/clearance_mailer.rb
Instance Method Summary collapse
Instance Method Details
#change_password(user) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/models/clearance_mailer.rb', line 5 def change_password(user) from DO_NOT_REPLY recipients user.email subject I18n.t(:change_password, :scope => [:clearance, :models, :clearance_mailer], :default => "Change your password") body :user => user end |
#confirmation(user) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'app/models/clearance_mailer.rb', line 14 def confirmation(user) from DO_NOT_REPLY recipients user.email subject I18n.t(:confirmation, :scope => [:clearance, :models, :clearance_mailer], :default => "Account confirmation") body :user => user end |