Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 43faccf45fed33a5e529d0a156f958b9d8b785b7 2 parents d17e44e + e87f1aa
@fxn fxn authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 actionpack/lib/action_view/helpers/asset_tag_helper.rb
View
5 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:
#
Please sign in to comment.
Something went wrong with that request. Please try again.