mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Reworded sentence using text from rails source code.
This commit is contained in:
parent
4f0b119b2d
commit
604c21102f
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ h4. AssetTagHelper
|
|||
|
||||
This module provides methods for generating HTML that links views to assets such as images, javascripts, stylesheets, and feeds.
|
||||
|
||||
By default, Rails links to these assets on the current host in the public folder, but you can direct Rails to link to assets from a dedicated assets server by setting +ActionController::Base.asset_host+ in your +config/environment.rb+. For example, let's say your asset host is +assets.example.com+:
|
||||
By default, Rails links to these assets on the current host in the public folder, but you can direct Rails to link to assets from a dedicated assets server by setting +ActionController::Base.asset_host+ in the application configuration, typically in +config/environments/production.rb+. For example, let's say your asset host is +assets.example.com+:
|
||||
|
||||
<ruby>
|
||||
ActionController::Base.asset_host = "assets.example.com"
|
||||
|
|
Loading…
Reference in a new issue