aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorGabe Hollombe <gabe@avantbard.com>2012-02-28 08:41:38 +0700
committerGabe Hollombe <gabe@avantbard.com>2012-02-28 08:41:38 +0700
commite87f1aa0216be1874af165b57fbacbf32ea08f22 (patch)
tree40a8db1da9b199fe90fe8c527a747ac524455a05 /actionpack/lib/action_view/helpers
parentacf7e86024fa8f7768f02a84688ae6e20c808c9c (diff)
downloadrails-e87f1aa0216be1874af165b57fbacbf32ea08f22.tar.gz
rails-e87f1aa0216be1874af165b57fbacbf32ea08f22.tar.bz2
rails-e87f1aa0216be1874af165b57fbacbf32ea08f22.zip
Change asset_host config language to be more helpful and accurate
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb5
1 files 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 <tt>config/environments/production.rb</tt>.
# For example, you'd define <tt>assets.example.com</tt> to be your asset
- # host this way:
+ # host this way, inside the <tt>configure</tt> block of your environment-specific
+ # configuration files or <tt>config/application.rb</tt>:
#
- # ActionController::Base.asset_host = "assets.example.com"
+ # config.action_controller.asset_host = "assets.example.com"
#
# Helpers take that into account:
#