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
1 changed files with 2 additions and 2 deletions

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