Browse files

require_tree is pretty simple

  • Loading branch information...
1 parent 266b1bd commit fe2482e50b1eebc12025d4c39c94e33dca8e95a8 @TheEmpty TheEmpty committed Jun 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/guides/source/asset_pipeline.textile
View
4 railties/guides/source/asset_pipeline.textile
@@ -32,9 +32,9 @@ Sprockets, the rails tie that powers the asset pipeline, provides three directiv
The require directive loads a file with the supplied basename from the following paths: app/assets/*, lib/assets/*, vendor/assets/*, as well as any of your gem's asset files.
-Require tree does...
+Using the +require_tree+ directive you can easily include an entire folder of assets. The paths must be relative, so begin them with either a forward slash or dots. For example to include a folder in the same directory I would do +require_tree ./folder_name+
-Require self does...
+Require self does... something
h4. Stacking Preprocessors

0 comments on commit fe2482e

Please sign in to comment.