diff options
author | Xavier Noria <fxn@hashref.com> | 2010-06-21 01:46:24 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-06-21 01:46:24 +0200 |
commit | b311dbb0ba2f3679a21fd7cb53b867c580e1e809 (patch) | |
tree | 62a1f0dd16cb25f93a42bd2ccfd2209599a157d0 /railties/lib | |
parent | 7b7cedcb8d53110492e7d51405986f3e8e899fa4 (diff) | |
download | rails-b311dbb0ba2f3679a21fd7cb53b867c580e1e809.tar.gz rails-b311dbb0ba2f3679a21fd7cb53b867c580e1e809.tar.bz2 rails-b311dbb0ba2f3679a21fd7cb53b867c580e1e809.zip |
Revert "files in the lib directory are no longer autoloaded"
This patch is not consistent since it leaves similar
directories in load_paths, needs more thought.
This reverts commit b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/engine/configuration.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb index 620a723a04..446fe0bda9 100644 --- a/railties/lib/rails/engine/configuration.rb +++ b/railties/lib/rails/engine/configuration.rb @@ -20,19 +20,15 @@ module Rails paths.app.models "app/models", :eager_load => true paths.app.mailers "app/mailers", :eager_load => true paths.app.views "app/views" - - paths.lib "lib" + paths.lib "lib", :load_path => true paths.lib.tasks "lib/tasks", :glob => "**/*.rake" - paths.config "config" paths.config.initializers "config/initializers", :glob => "**/*.rb" paths.config.locales "config/locales", :glob => "*.{rb,yml}" paths.config.routes "config/routes.rb" - paths.public "public" paths.public.javascripts "public/javascripts" paths.public.stylesheets "public/stylesheets" - paths end end |