Class: EffectivePostsMailerPreview

Inherits:
ActionMailer::Preview
  • Object
show all
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_submittedObject



6
7
8
# File 'lib/generators/templates/effective_posts_mailer_preview.rb', line 6

def 
  EffectivePosts.mailer_class.(build_preview_post)
end