Remove unused `NotificationMailer#digest` preview (#25719)

lolsob-rspec
Matt Jankowski 2023-07-08 14:04:21 -04:00 committed by GitHub
parent 6555c33503
commit b63d71fd48
1 changed files with 0 additions and 5 deletions

View File

@ -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