From 51df7cac8f3813d27439df7bb3a8b179be4de917 Mon Sep 17 00:00:00 2001 From: Evan Machnic Date: Tue, 19 Jul 2011 14:59:06 -0400 Subject: Fixed asset_url in asset_pipeline doc --- railties/guides/source/asset_pipeline.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties') diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile index 826daa4ab1..e4db2d7928 100644 --- a/railties/guides/source/asset_pipeline.textile +++ b/railties/guides/source/asset_pipeline.textile @@ -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 -- cgit v1.2.3