mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed asset_url in asset_pipeline doc
This commit is contained in:
parent
f1a239fd6d
commit
51df7cac8f
1 changed files with 2 additions and 2 deletions
|
@ -161,8 +161,8 @@ When using the asset pipeline, paths to assets must be re-written and +sass-rail
|
|||
|
||||
The more generic form can also be used but the asset path and class must both be specified:
|
||||
|
||||
* +asset_url("rails.png", image)+ becomes +url(/assets/rails.png)+
|
||||
* +asset_path("rails.png", image)+ becomes +"/assets/rails.png"+
|
||||
* +asset_url("rails.png", "image")+ becomes +url(/assets/rails.png)+
|
||||
* +asset_path("rails.png", "image")+ becomes +"/assets/rails.png"+
|
||||
|
||||
h4. Manifest Files and Directives
|
||||
|
||||
|
|
Loading…
Reference in a new issue