fix(mailer): preview for DossierMailer#notify_new_draft
This commit is contained in:
parent
7fa966548c
commit
380a4232c6
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Preview all emails at http://localhost:3000/rails/mailers/dossier_mailer
|
||||
class DossierMailerPreview < ActionMailer::Preview
|
||||
def notify_new_draft
|
||||
DossierMailer.notify_new_draft(draft)
|
||||
DossierMailer.with(dossier: draft).notify_new_draft
|
||||
end
|
||||
|
||||
def notify_new_answer
|
||||
|
|
Loading…
Reference in a new issue