Class: UserMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- UserMailer
- Defined in:
- app/mailers/user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#confirmation(user) ⇒ Object
2 3 4 5 6 |
# File 'app/mailers/user_mailer.rb', line 2 def confirmation(user) @url = confirm_url :token => user.perishable_token mail :to => user.email, :subject => "Please confirm your email address!" end |
#password_reset(user) ⇒ Object
8 9 10 11 12 |
# File 'app/mailers/user_mailer.rb', line 8 def password_reset(user) @url = edit_password_reset_url user.perishable_token mail :to => user.email, :subject => "Please reset your password!" end |