aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-07-24 11:39:41 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-07-24 11:39:41 +0530
commit2e679ac262726045e4273f04ce8a55d97f621dd3 (patch)
treef488b56beb80e56630019bced7e9db8e81afed74 /guides/source
parent28b3180f496d597d0a0017a4ab600d4da0d50224 (diff)
downloadrails-2e679ac262726045e4273f04ce8a55d97f621dd3.tar.gz
rails-2e679ac262726045e4273f04ce8a55d97f621dd3.tar.bz2
rails-2e679ac262726045e4273f04ce8a55d97f621dd3.zip
Calling require_self twice in css raises Sprockets::ArgumentError exception [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/asset_pipeline.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index dd018c0da8..e31cefa5bb 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -493,8 +493,7 @@ The directives that work in JavaScript files also work in stylesheets
one, requiring all stylesheets from the current directory.
In this example, `require_self` is used. This puts the CSS contained within the
-file (if any) at the precise location of the `require_self` call. If
-`require_self` is called more than once, only the last call is respected.
+file (if any) at the precise location of the `require_self` call.
NOTE. If you want to use multiple Sass files, you should generally use the [Sass `@import` rule](http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#import)
instead of these Sprockets directives. When using Sprockets directives, Sass files exist within