1
0
Fork 0
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:
Evan Machnic 2011-07-19 14:59:06 -04:00
parent f1a239fd6d
commit 51df7cac8f

View file

@ -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