Class: EffectivePostsMailerPreview
- Inherits:
-
ActionMailer::Preview
- Object
- ActionMailer::Preview
- EffectivePostsMailerPreview
- Defined in:
- lib/generators/templates/effective_posts_mailer_preview.rb
Overview
In Rails 4.1 and above, visit: localhost:3000/rails/mailers to see a preview of the following 3 emails:
Instance Method Summary collapse
Instance Method Details
#post_submitted_to_admin ⇒ Object
6 7 8 |
# File 'lib/generators/templates/effective_posts_mailer_preview.rb', line 6 def post_submitted_to_admin Effective::PostsMailer.post_submitted_to_admin(build_preview_post) end |