diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-23 09:48:31 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-23 09:48:31 -0700 |
commit | ec3ad30606a9e46715c7bbbc98ce911d42dbb5ee (patch) | |
tree | baea5b800e7b5693d789dad62a76573055322724 | |
parent | d6fe9e837e8dc15fa6859138a2f641ff85c02aa3 (diff) | |
parent | eaed8220c2e1c5d4f350a213de93de75ca4b3c69 (diff) | |
download | rails-ec3ad30606a9e46715c7bbbc98ce911d42dbb5ee.tar.gz rails-ec3ad30606a9e46715c7bbbc98ce911d42dbb5ee.tar.bz2 rails-ec3ad30606a9e46715c7bbbc98ce911d42dbb5ee.zip |
Merge pull request #12617 from skv-headless/master
[ci skip] second parameter of asset-url is deprecated
-rw-r--r-- | guides/source/asset_pipeline.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index 40a6f3ebc7..e9d3712a2a 100644 --- a/guides/source/asset_pipeline.md +++ b/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 |