gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/dev
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
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 r = Status.where.not(reblog_of_id: nil).first
NotificationMailer.reblog(r.reblog.account, Notification.find_by(activity: r)) NotificationMailer.reblog(r.reblog.account, Notification.find_by(activity: r))
end 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 end