Browse files

Calling require_self twice in css raises Sprockets::ArgumentError exc…

…eption [ci skip]
  • Loading branch information...
1 parent 28b3180 commit 2e679ac262726045e4273f04ce8a55d97f621dd3 Akshay Vishnoi committed Jul 24, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 guides/source/
@@ -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](
instead of these Sprockets directives. When using Sprockets directives, Sass files exist within

0 comments on commit 2e679ac

Please sign in to comment.