emails: sign the new answer email as the administration

This commit is contained in:
Pierre de La Morinerie 2019-07-17 14:36:46 +00:00
parent 8b80c48679
commit 630ae06542
2 changed files with 5 additions and 2 deletions

View file

@ -8,4 +8,4 @@
Pour le consulter, merci de vous rendre sur
= link_to messagerie_dossier_url(@dossier), messagerie_dossier_url(@dossier), target: '_blank', rel:'noopener'
= render partial: "layouts/mailers/signature"
= render partial: "layouts/mailers/signature", locals: { service: @service }

View file

@ -1,4 +1,7 @@
%p
Bonne journée,
%br
Léquipe demarches-simplifiees.fr
- if defined?(service) && service && service.nom.present?
= service.nom
- else
Léquipe demarches-simplifiees.fr