From be5849a7f54ea371a8d4d6a34d35eda2d5656ea0 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 5 Mar 2018 17:33:02 +0100 Subject: [PATCH] Remove unneeded quotes --- app/mailers/application_mailer.rb | 2 +- config/initializers/devise.rb | 2 +- config/locales/dynamics/fr.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index 477bc8657..498633860 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,4 +1,4 @@ class ApplicationMailer < ActionMailer::Base - default from: "'demarches-simplifiees.fr' <#{I18n.t('dynamics.contact_email')}>" + default from: "demarches-simplifiees.fr <#{I18n.t('dynamics.contact_email')}>" layout 'mailer' end diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index e649f0f9e..68eebcf50 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -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 = "'demarches-simplifiees.fr' <#{I18n.t('dynamics.contact_email')}>" + config.mailer_sender = "demarches-simplifiees.fr <#{I18n.t('dynamics.contact_email')}>" # Configure the class responsible to send e-mails. # config.mailer = 'Devise::Mailer' diff --git a/config/locales/dynamics/fr.yml b/config/locales/dynamics/fr.yml index b64b48445..fdc533e38 100644 --- a/config/locales/dynamics/fr.yml +++ b/config/locales/dynamics/fr.yml @@ -1,6 +1,6 @@ fr: dynamics: - page_title: 'demarches-simplifiees.fr' + page_title: demarches-simplifiees.fr contact_email: contact@demarches-simplifiees.fr users: connexion_title: Connexion