Ajoute l'email de repassage en instruction dans la messagerie du dossier

This commit is contained in:
Kara Diaby 2023-10-22 23:25:47 +02:00
parent ae675fac2a
commit 7926948c0d

View file

@ -88,6 +88,8 @@ class DossierMailer < ApplicationMailer
@logo_url = procedure_logo_url(@dossier.procedure)
@subject = default_i18n_subject(dossier_id: dossier.id, libelle_demarche: dossier.procedure.libelle)
MailTemplatePresenterService.create_commentaire_for_state(dossier)
mail(to: dossier.user_email_for(:notification), subject: @subject) do |format|
format.html { render layout: 'mailers/notifications_layout' }
end