Add mail preview and small fix
This commit is contained in:
parent
29de9b0b55
commit
7e24adbca0
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
%hmtl
|
||||
%html
|
||||
%body
|
||||
= yield
|
||||
= yield
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
class NotificationMailerPreview < ActionMailer::Preview
|
||||
|
||||
def dossier_received
|
||||
NotificationMailer.dossier_received(Dossier.last)
|
||||
end
|
||||
|
||||
def dossier_validated
|
||||
NotificationMailer.dossier_validated(Dossier.last)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue