aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-07-24 17:30:22 +0930
committerMatthew Draper <matthew@trebex.net>2014-07-24 17:30:22 +0930
commit7e20b9449a8fd0daed938b52dd4ac513b13352cd (patch)
tree8c5f7a7caf1a792ffa323db3cbfa6f031767d128 /guides
parentb17330cf391327f63fece617acdb57b35e341092 (diff)
parent2e679ac262726045e4273f04ce8a55d97f621dd3 (diff)
downloadrails-7e20b9449a8fd0daed938b52dd4ac513b13352cd.tar.gz
rails-7e20b9449a8fd0daed938b52dd4ac513b13352cd.tar.bz2
rails-7e20b9449a8fd0daed938b52dd4ac513b13352cd.zip
Merge pull request #16260 from akshay-vishnoi/doc-change
Calling require_self twice in css raises Sprockets::ArgumentError exception [ci skip]
Diffstat (limited to 'guides')
-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