Add optional bulk mailer settings (#35203)

This commit is contained in:
David Roetzel 2025-06-30 16:49:14 +02:00 committed by GitHub
commit c357a7f8d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 90 additions and 7 deletions

View file

@ -103,4 +103,9 @@ class UserMailerPreview < ActionMailer::Preview
def terms_of_service_changed
UserMailer.terms_of_service_changed(User.first, TermsOfService.live.first)
end
# Preview this email at http://localhost:3000/rails/mailers/user_mailer/announcement_published
def announcement_published
UserMailer.announcement_published(User.first, Announcement.last)
end
end