Browse files

Merge pull request #1 from niklas/patch-1

hint to gotcha involving non-standard load paths.
  • Loading branch information...
2 parents e338f99 + 5f6b5a4 commit 34e05406b3cc37102ed244fadeb5226bc2e2fc3d Sven Fuchs committed Jun 16, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.textile
@@ -54,3 +54,10 @@ ActiveSupport::Slices provides a simplistic solution to all of these requirement
Also see "this discussion":
+h2. Gotchas
+If your slices won't get loaded, make sure they are locatable within your loadpath. If e.g. you want to slice "minimal": template, you must edit your @config/application.rb@ as follows:
+config.autoload_paths += %W(#{config.root}/app/views)

0 comments on commit 34e0540

Please sign in to comment.