mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Change asset_host config language to be more helpful and accurate
This commit is contained in:
parent
acf7e86024
commit
e87f1aa021
1 changed files with 3 additions and 2 deletions
|
@ -24,9 +24,10 @@ module ActionView
|
||||||
# server by setting ActionController::Base.asset_host in the application
|
# server by setting ActionController::Base.asset_host in the application
|
||||||
# configuration, typically in <tt>config/environments/production.rb</tt>.
|
# configuration, typically in <tt>config/environments/production.rb</tt>.
|
||||||
# For example, you'd define <tt>assets.example.com</tt> to be your asset
|
# 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:
|
# Helpers take that into account:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue