aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorEvan Machnic <emachnic@broadmac.net>2011-07-19 14:59:06 -0400
committerEvan Machnic <emachnic@broadmac.net>2011-07-19 14:59:06 -0400
commit51df7cac8f3813d27439df7bb3a8b179be4de917 (patch)
treeaa428bce1b090d148bc08e4b168cd5492d6682c4 /railties
parentf1a239fd6d84f6e55d55411f3ebd77ffd67e664a (diff)
downloadrails-51df7cac8f3813d27439df7bb3a8b179be4de917.tar.gz
rails-51df7cac8f3813d27439df7bb3a8b179be4de917.tar.bz2
rails-51df7cac8f3813d27439df7bb3a8b179be4de917.zip
Fixed asset_url in asset_pipeline doc
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/asset_pipeline.textile4
1 files changed, 2 insertions, 2 deletions
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