otwarchive-symphonyarchive/app/mailers/tos_update_mailer.rb

12 lines
355 B
Ruby
Raw Permalink Normal View History

2026-03-11 22:22:11 +00:00
class TosUpdateMailer < ApplicationMailer
# Sent by notifications:send_tos_update
def tos_update_notification(user, admin_post_id)
@username = user.login
@admin_post = admin_post_id
mail(
to: user.email,
subject: "[#{ArchiveConfig.APP_SHORT_NAME}] Updates to #{ArchiveConfig.APP_SHORT_NAME}'s Terms of Service"
)
end
end