Mutualize the email address in a localised string
This commit is contained in:
parent
7f9c271938
commit
8ba55a0d5d
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue