fixup! modify mailers

This commit is contained in:
kara Diaby 2021-07-22 14:32:00 +02:00
parent c92b249340
commit 9b1a522241

View file

@ -18,10 +18,11 @@ class DossierMailer < ApplicationMailer
end
end
def notify_new_answer(dossier)
def notify_new_answer(dossier, body = nil)
@dossier = dossier
@service = dossier.procedure.service
@logo_url = attach_logo(dossier.procedure)
@body = body
subject = "Nouveau message pour votre dossier nº #{dossier.id} (#{dossier.procedure.libelle})"