mailers: add missing previews for notification emails

This commit is contained in:
Pierre de La Morinerie 2018-11-19 18:14:35 +01:00 committed by gregoirenovel
parent e5303fd986
commit f2eaf66a9a

View file

@ -1,5 +1,21 @@
class NotificationMailerPreview < ActionMailer::Preview
def send_notification
def send_dossier_received
NotificationMailer.send_dossier_received(Dossier.last)
end
def send_initiated_notification
NotificationMailer.send_initiated_notification(Dossier.last)
end
def send_closed_notification
NotificationMailer.send_closed_notification(Dossier.last)
end
def send_refused_notification
NotificationMailer.send_refused_notification(Dossier.last)
end
def send_without_continuation_notification
NotificationMailer.send_without_continuation_notification(Dossier.last)
end
end