diff options
author | Evgeniy <skv040391@mail.ru> | 2013-10-23 20:42:30 +0400 |
---|---|---|
committer | Evgeniy <skv040391@mail.ru> | 2013-10-23 20:42:30 +0400 |
commit | eaed8220c2e1c5d4f350a213de93de75ca4b3c69 (patch) | |
tree | 9b1e011ee825169b64b474c19e29333659946e62 | |
parent | dc8a20677d820aa09413c6a3e25c9d70ba24561a (diff) | |
download | rails-eaed8220c2e1c5d4f350a213de93de75ca4b3c69.tar.gz rails-eaed8220c2e1c5d4f350a213de93de75ca4b3c69.tar.bz2 rails-eaed8220c2e1c5d4f350a213de93de75ca4b3c69.zip |
[ci skip] second parameter of asset-url is depricated
-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 |