discourse/app/mailers
Osama Sayegh 14bae6d52d Make `email_excerpt` method take an optional `post` param (#7570)
The spoiler alert plugin replaces spoiler text found in email excerpts with posts URL, which means it needs to have a reference to the post it's processing.

This change makes `email_excerpt` accepts an optional post param, which calls `PrettyText.format_for_email` which then triggers the `reduce_cooked` event that the plugin subscribes to.
2019-05-20 10:04:23 +02:00
..
admin_confirmation_mailer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
download_backup_mailer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
invite_mailer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rejection_mailer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
subscription_mailer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
test_mailer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_notifications.rb Make `email_excerpt` method take an optional `post` param (#7570) 2019-05-20 10:04:23 +02:00
version_mailer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00