diff options
author | Gabe Hollombe <gabe@avantbard.com> | 2012-02-28 08:41:38 +0700 |
---|---|---|
committer | Gabe Hollombe <gabe@avantbard.com> | 2012-02-28 08:41:38 +0700 |
commit | e87f1aa0216be1874af165b57fbacbf32ea08f22 (patch) | |
tree | 40a8db1da9b199fe90fe8c527a747ac524455a05 /actionpack | |
parent | acf7e86024fa8f7768f02a84688ae6e20c808c9c (diff) | |
download | rails-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')
-rw-r--r-- | actionpack/lib/action_view/helpers/asset_tag_helper.rb | 5 |
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: # |