Mutualize the email address in a localised string

This commit is contained in:
gregoirenovel 2017-05-12 14:35:57 +02:00
parent 7f9c271938
commit 8ba55a0d5d
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ class Commentaire < ActiveRecord::Base
invited_users_emails = dossier.invites_user.pluck(:email).to_a
case email
when "contact@tps.apientreprise.fr"
when I18n.t("dynamics.contact_email")
# The commentaire is a copy of an automated notification email
# we sent to a user, so do nothing
when dossier_user_email, *invited_users_emails