Skip to content
Browse files

Merge pull request #12617 from skv-headless/master

[ci skip] second parameter of asset-url is deprecated
  • Loading branch information...
2 parents d6fe9e8 + eaed822 commit ec3ad30606a9e46715c7bbbc98ce911d42dbb5ee @rafaelfranca rafaelfranca committed Oct 23, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 guides/source/asset_pipeline.md
View
7 guides/source/asset_pipeline.md
@@ -405,11 +405,10 @@ JavaScript and stylesheet.
* `image-url("rails.png")` becomes `url(/assets/rails.png)`
* `image-path("rails.png")` becomes `"/assets/rails.png"`.
-The more generic form can also be used but the asset path and class must both be
-specified:
+The more generic form can also be used:
-* `asset-url("rails.png", image)` becomes `url(/assets/rails.png)`
-* `asset-path("rails.png", image)` becomes `"/assets/rails.png"`
+* `asset-url("rails.png")` becomes `url(/assets/rails.png)`
+* `asset-path("rails.png")` becomes `"/assets/rails.png"`
#### JavaScript/CoffeeScript and ERB

0 comments on commit ec3ad30

Please sign in to comment.
Something went wrong with that request. Please try again.