demarches-normaliennes/config/environments
Pierre de La Morinerie ac9a87f27b config: fix email assets not having the full URL domain prepended
When sending emails, the mailer doesn't have access to the request
host. It needs to infer it by itself.

For this we need two settings:

- action_mailer.default_url_options, to generate urls to routes
- action_mailer.asset_host, to generate full urls to assets

Only the first one of these settings was set in production.

Fix #2518
2018-11-21 12:30:00 +01:00
..
development.rb config: fix email assets not having the full URL domain prepended 2018-11-21 12:30:00 +01:00
production.rb config: fix email assets not having the full URL domain prepended 2018-11-21 12:30:00 +01:00
test.rb config: remove duplicated line 2018-11-06 17:11:09 +01:00