Commit 524b7d0

mo khan <mo@mokhan.ca>
2013-06-22 17:31:54
configure asset host in production configuration
1 parent ec3d803
Changed files (1)
config
environments
config/environments/production.rb
@@ -43,7 +43,7 @@ Yycrebuild::Application.configure do
   # config.cache_store = :mem_cache_store
 
   # Enable serving of images, stylesheets, and JavaScripts from an asset server
-  # config.action_controller.asset_host = "http://assets.example.com"
+  config.action_controller.asset_host = ENV['ASSET_HOST']
 
   # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
   # config.assets.precompile += %w( search.js )