From 2b116131d78460e5cbb8eacc30aaaf04106ea0fa Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 19 Mar 2016 19:20:07 +0100 Subject: Adding e-mail notifications about mentions, follows, favourites and reblogs. Fixing another mention recording bug --- .../previews/notification_mailer_preview.rb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 spec/mailers/previews/notification_mailer_preview.rb (limited to 'spec/mailers/previews') diff --git a/spec/mailers/previews/notification_mailer_preview.rb b/spec/mailers/previews/notification_mailer_preview.rb new file mode 100644 index 000000000..8fc8d0d34 --- /dev/null +++ b/spec/mailers/previews/notification_mailer_preview.rb @@ -0,0 +1,24 @@ +# Preview all emails at http://localhost:3000/rails/mailers/notification_mailer +class NotificationMailerPreview < ActionMailer::Preview + + # Preview this email at http://localhost:3000/rails/mailers/notification_mailer/mention + def mention + # NotificationMailer.mention + end + + # Preview this email at http://localhost:3000/rails/mailers/notification_mailer/follow + def follow + # NotificationMailer.follow + end + + # Preview this email at http://localhost:3000/rails/mailers/notification_mailer/favourite + def favourite + # NotificationMailer.favourite + end + + # Preview this email at http://localhost:3000/rails/mailers/notification_mailer/reblog + def reblog + # NotificationMailer.reblog + end + +end -- cgit