Class: DouguiUsers::UserMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- DouguiUsers::UserMailer
- Defined in:
- app/mailers/dougui_users/user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#activation(user) ⇒ Object
5 6 7 8 |
# File 'app/mailers/dougui_users/user_mailer.rb', line 5 def activation(user) @user = user mail(:to => user.email, :subject => t(".title", :scope => 'user_mailer.activation')) end |
#reset_password(user) ⇒ Object
10 11 12 13 |
# File 'app/mailers/dougui_users/user_mailer.rb', line 10 def reset_password(user) @user = user mail(:to => user.email, :subject => t(".title", :scope => 'user_mailer.reset_password')) end |