aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAndreas Lietz <alietz@users.noreply.github.com>2015-08-06 12:18:18 +0200
committerAndreas Lietz <alietz@users.noreply.github.com>2015-08-06 12:18:18 +0200
commit0b92d80cec7b6f2620217b8e68adb30a3d606b8c (patch)
tree6330ce1b5519dec37a51a75aa8a67cf5f66c8d20 /guides
parent3d32a50ca1933ee96abbe5db7ee99617fd0c328c (diff)
downloadrails-0b92d80cec7b6f2620217b8e68adb30a3d606b8c.tar.gz
rails-0b92d80cec7b6f2620217b8e68adb30a3d606b8c.tar.bz2
rails-0b92d80cec7b6f2620217b8e68adb30a3d606b8c.zip
Corrected instructions for using Sass
Diffstat (limited to 'guides')
-rw-r--r--guides/source/asset_pipeline.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index 4a610e8458..fc7dd3a6c6 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -403,13 +403,13 @@ When using the asset pipeline, paths to assets must be re-written and
underscored in Ruby) for the following asset classes: image, font, video, audio,
JavaScript and stylesheet.
-* `image-url("rails.png")` becomes `url(/assets/rails.png)`
-* `image-path("rails.png")` becomes `"/assets/rails.png"`.
+* `url(/assets/rails.png)` becomes `image-url("rails.png")`
+* `"/assets/rails.png"` becomes `image-path("rails.png")` .
The more generic form can also be used:
-* `asset-url("rails.png")` becomes `url(/assets/rails.png)`
-* `asset-path("rails.png")` becomes `"/assets/rails.png"`
+* `url(/assets/rails.png)` becomes `asset-url("rails.png")`
+* `"/assets/rails.png"` becomes `asset-path("rails.png")`
#### JavaScript/CoffeeScript and ERB