aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammad Typaldos <mohammad.elabid@gmail.com>2011-06-08 18:50:55 -0400
committerMohammad Typaldos <mohammad.elabid@gmail.com>2011-06-08 18:50:55 -0400
commitfe2482e50b1eebc12025d4c39c94e33dca8e95a8 (patch)
tree471e31eff3a893b93ba35586c020b6f3c4182118
parent266b1bd9b4acc01cace6ea7cea3e9c29dc4e0e0c (diff)
downloadrails-fe2482e50b1eebc12025d4c39c94e33dca8e95a8.tar.gz
rails-fe2482e50b1eebc12025d4c39c94e33dca8e95a8.tar.bz2
rails-fe2482e50b1eebc12025d4c39c94e33dca8e95a8.zip
require_tree is pretty simple
-rw-r--r--railties/guides/source/asset_pipeline.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile
index 5d0dfee41c..a8373087d9 100644
--- a/railties/guides/source/asset_pipeline.textile
+++ b/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