Commit f9d853a
Changed files (2)
config
environments
config/environments/production.rb
@@ -63,7 +63,9 @@ Rails.application.configure do
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
- config.action_mailer.default_options = { from: ENV.fetch('DEFAULT_FROM_ADDRESS') }
+ config.action_mailer.default_options = {
+ from: ENV.fetch("DEFAULT_FROM_ADDRESS")
+ }
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation cannot be found).
config/environments/test.rb
@@ -20,7 +20,7 @@ Rails.application.configure do
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
- config.action_mailer.default_options = { from: 'from@example.com' }
+ config.action_mailer.default_options = { from: "from@example.com" }
# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false