Class: PasswordsMailerPreview
- Inherits:
-
ActionMailer::Preview
- Object
- ActionMailer::Preview
- PasswordsMailerPreview
- Defined in:
- lib/rails/generators/rails/authentication/templates/test/mailers/previews/passwords_mailer_preview.rb
Overview
Preview all emails at localhost:3000/rails/mailers/passwords_mailer
Instance Method Summary collapse
-
#reset ⇒ Object
Preview this email at localhost:3000/rails/mailers/passwords_mailer/reset.
Instance Method Details
#reset ⇒ Object
Preview this email at localhost:3000/rails/mailers/passwords_mailer/reset
4 5 6 |
# File 'lib/rails/generators/rails/authentication/templates/test/mailers/previews/passwords_mailer_preview.rb', line 4 def reset PasswordsMailer.reset(User.take) end |