Permalink
Browse files

Merge pull request #5199 from gabehollombe/master

The language for describing how to configure ActionController::Base.asset_host could be clearer
  • Loading branch information...
2 parents d17e44e + e87f1aa commit 43faccf45fed33a5e529d0a156f958b9d8b785b7 @fxn fxn committed Feb 28, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -24,9 +24,10 @@ module Helpers #:nodoc:
# 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:
#

0 comments on commit 43faccf

Please sign in to comment.