Class: Thredded::PrivateTopicMailerPreview
- Inherits:
-
BaseMailerPreview
- Object
- BaseMailerPreview
- Thredded::PrivateTopicMailerPreview
- Defined in:
- app/mailer_previews/thredded/private_topic_mailer_preview.rb
Overview
Previews for the PrivateTopicMailer
Instance Method Summary collapse
Methods inherited from BaseMailerPreview
Instance Method Details
#message_notification ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'app/mailer_previews/thredded/private_topic_mailer_preview.rb', line 5 def PrivateTopicMailer.( mock_private_topic.tap do |private_topic| private_topic.posts = [ mock_private_post(content: mock_content(mention_users: ['glebm']), postable: private_topic) ] end, %w([email protected] [email protected]) ) end |