adds mail host for staging and production

This commit is contained in:
rgarcia
2015-08-21 17:06:51 +02:00
parent c39657cf5c
commit dbc3a6596e
2 changed files with 4 additions and 2 deletions

View File

@@ -62,7 +62,8 @@ 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.raise_delivery_errors = true
config.action_mailer.default_url_options = { host: deploysecret(:server_name) }
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation cannot be found).