diff options
author | Matt Jankowski <matt@jankowski.online> | 2023-07-08 14:04:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 20:04:21 +0200 |
commit | d6b387a0c4172ecd7cb742d3b97f294552a6fdb1 (patch) | |
tree | d5020876bc138fbcf872341ed09a0d91d83a5487 /spec | |
parent | cf33028f350cfe292931d905cf396e4dc1b669ab (diff) |
Remove unused `NotificationMailer#digest` preview (#25719)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/mailers/previews/notification_mailer_preview.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/mailers/previews/notification_mailer_preview.rb b/spec/mailers/previews/notification_mailer_preview.rb index bc41662a16f..214161881bb 100644 --- a/spec/mailers/previews/notification_mailer_preview.rb +++ b/spec/mailers/previews/notification_mailer_preview.rb @@ -32,9 +32,4 @@ class NotificationMailerPreview < ActionMailer::Preview r = Status.where.not(reblog_of_id: nil).first NotificationMailer.reblog(r.reblog.account, Notification.find_by(activity: r)) end - - # Preview this email at http://localhost:3000/rails/mailers/notification_mailer/digest - def digest - NotificationMailer.digest(Account.first, since: 90.days.ago) - end end |