Skip to content

Commit e87f1aa

Browse files
committed
Change asset_host config language to be more helpful and accurate
1 parent acf7e86 commit e87f1aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

actionpack/lib/action_view/helpers/asset_tag_helper.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ module Helpers #:nodoc:
2424
# server by setting ActionController::Base.asset_host in the application
2525
# configuration, typically in <tt>config/environments/production.rb</tt>.
2626
# For example, you'd define <tt>assets.example.com</tt> to be your asset
27-
# host this way:
27+
# host this way, inside the <tt>configure</tt> block of your environment-specific
28+
# configuration files or <tt>config/application.rb</tt>:
2829
#
29-
# ActionController::Base.asset_host = "assets.example.com"
30+
# config.action_controller.asset_host = "assets.example.com"
3031
#
3132
# Helpers take that into account:
3233
#

0 commit comments

Comments
 (0)