Browse files

Merge pull request #12218 from dv/add-sass-globbing-to-asset-pipeline…


Add sass globbing to asset pipeline docs [ci skip]
  • Loading branch information...
2 parents b4bda65 + 4990a79 commit 5824c6d0edf7f167df6915a28e8157a3ff5453bb @senny senny committed Oct 17, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 guides/source/
6 guides/source/
@@ -503,7 +503,11 @@ NOTE. If you want to use multiple Sass files, you should generally use the [Sass
rule]( instead
of these Sprockets directives. Using Sprockets directives all Sass files exist
within their own scope, making variables or mixins only available within the
-document they were defined in.
+document they were defined in. You can do file globbing as well using
+`@import "*"`, and `@import "**/*"` to add the whole tree equivalent to how
+`require_tree` works. Check the [sass-rails
+documentation]( for more info and
+important caveats.
You can have as many manifest files as you need. For example, the `admin.css`
and `admin.js` manifest could contain the JS and CSS files that are used for the

0 comments on commit 5824c6d

Please sign in to comment.