Ajoute l'email de repassage en instruction dans la messagerie du dossier
This commit is contained in:
parent
ae675fac2a
commit
7926948c0d
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ class DossierMailer < ApplicationMailer
|
||||||
@logo_url = procedure_logo_url(@dossier.procedure)
|
@logo_url = procedure_logo_url(@dossier.procedure)
|
||||||
@subject = default_i18n_subject(dossier_id: dossier.id, libelle_demarche: dossier.procedure.libelle)
|
@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|
|
mail(to: dossier.user_email_for(:notification), subject: @subject) do |format|
|
||||||
format.html { render layout: 'mailers/notifications_layout' }
|
format.html { render layout: 'mailers/notifications_layout' }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue