From e87f1aa0216be1874af165b57fbacbf32ea08f22 Mon Sep 17 00:00:00 2001 From: Gabe Hollombe Date: Tue, 28 Feb 2012 08:41:38 +0700 Subject: Change asset_host config language to be more helpful and accurate --- actionpack/lib/action_view/helpers/asset_tag_helper.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index 662adbe183..6dd52d8186 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -24,9 +24,10 @@ module ActionView # server by setting ActionController::Base.asset_host in the application # configuration, typically in config/environments/production.rb. # For example, you'd define assets.example.com to be your asset - # host this way: + # host this way, inside the configure block of your environment-specific + # configuration files or config/application.rb: # - # ActionController::Base.asset_host = "assets.example.com" + # config.action_controller.asset_host = "assets.example.com" # # Helpers take that into account: # -- cgit v1.2.3