mailers: add missing previews for notification emails
This commit is contained in:
parent
e5303fd986
commit
f2eaf66a9a
1 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue