Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[ci skip] second parameter of asset-url is depricated

  • Loading branch information...
commit eaed8220c2e1c5d4f350a213de93de75ca4b3c69 1 parent dc8a206
@skv-headless skv-headless authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.