From 7926948c0d843c238ddfce764ca7d241b2129ed7 Mon Sep 17 00:00:00 2001 From: Kara Diaby Date: Sun, 22 Oct 2023 23:25:47 +0200 Subject: [PATCH] Ajoute l'email de repassage en instruction dans la messagerie du dossier --- app/mailers/dossier_mailer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/mailers/dossier_mailer.rb b/app/mailers/dossier_mailer.rb index adad878a2..472447932 100644 --- a/app/mailers/dossier_mailer.rb +++ b/app/mailers/dossier_mailer.rb @@ -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