2017-01-23 15:41:09 +01:00
|
|
|
class NotificationMailerPreview < ActionMailer::Preview
|
2018-11-19 18:14:35 +01:00
|
|
|
def send_dossier_received
|
|
|
|
NotificationMailer.send_dossier_received(Dossier.last)
|
|
|
|
end
|
|
|
|
|
|
|
|
def send_initiated_notification
|
2018-05-25 23:08:47 +02:00
|
|
|
NotificationMailer.send_initiated_notification(Dossier.last)
|
2017-01-23 15:41:09 +01:00
|
|
|
end
|
2018-11-19 18:14:35 +01:00
|
|
|
|
|
|
|
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
|
2017-01-23 15:41:09 +01:00
|
|
|
end
|