Use send_mail when possible
This commit is contained in:
parent
02c2f681aa
commit
8eacfa801c
1 changed files with 1 additions and 5 deletions
|
@ -6,11 +6,7 @@ class NotificationMailer < ApplicationMailer
|
|||
end
|
||||
|
||||
def send_draft_notification(dossier)
|
||||
vars_mailer(dossier)
|
||||
|
||||
subject = "Retrouvez votre brouillon pour la démarche : #{dossier.procedure.libelle}"
|
||||
|
||||
mail(subject: subject)
|
||||
send_mail(dossier, "Retrouvez votre brouillon pour la démarche : #{dossier.procedure.libelle}")
|
||||
end
|
||||
|
||||
def send_dossier_received(dossier)
|
||||
|
|
Loading…
Reference in a new issue