Use double quotes inside string interpolation

This commit is contained in:
Javi Martín
2019-03-25 13:29:58 +01:00
parent d894d24bff
commit 4c35df4812
35 changed files with 54 additions and 54 deletions

View File

@@ -15,7 +15,7 @@ Devise.setup do |config|
if Rails.env.test? || !ActiveRecord::Base.connection.table_exists?("settings")
config.mailer_sender = "noreply@consul.dev"
else
config.mailer_sender = "'#{Setting['mailer_from_name']}' <#{Setting['mailer_from_address']}>"
config.mailer_sender = "'#{Setting["mailer_from_name"]}' <#{Setting["mailer_from_address"]}>"
end
# Configure the class responsible to send e-mails.