1
0

Remove unused NotificationMailer#digest preview (#25719)

This commit is contained in:
Matt Jankowski 2023-07-08 14:04:21 -04:00 committed by GitHub
parent cf33028f35
commit d6b387a0c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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