Allow to use other asset_host

This commit is contained in:
Vokhmin Alexey V 2016-03-03 00:35:45 +03:00
parent f26c02a10d
commit c2d546522c
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ Rails.application.configure do
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = "http://assets.example.com"
config.asset_host = ENV['ASSET_HOST_URL']
config.action_mailer.asset_host = ENV['ASSET_HOST_URL']
# 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.