final optims after sim review

This commit is contained in:
kara Diaby 2020-12-07 15:10:26 +01:00 committed by simon lehericey
parent f3c4040d2d
commit c7643154d1
12 changed files with 106 additions and 61 deletions

View file

@ -76,7 +76,7 @@ class DossierMailer < ApplicationMailer
end
def notify_instructeur_deletion_to_user(deleted_dossier, to_email)
@subject = default_i18n_subject(dossier_id: deleted_dossier.dossier_id)
@subject = default_i18n_subject(libelle_demarche: deleted_dossier.procedure.libelle)
@deleted_dossier = deleted_dossier
mail(to: to_email, subject: @subject)