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

@ -10,7 +10,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
config.mailer_sender = "'Téléprocédures Simplifiées' <contact@tps.apientreprise.fr>"
config.mailer_sender = "'Téléprocédures Simplifiées' <#{I18n.t('dynamics.contact_email')}>"
# Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer'