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_submitted_to_adminObject



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

def 
  Effective::PostsMailer.(build_preview_post)
end