diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-06-03 19:19:08 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-06-03 19:19:08 -0500 |
commit | 82e96eb294ae21528c3e05e91c05c7ee5222afbd (patch) | |
tree | 843ff1e9523c0943af8547e871729b752770a7c8 /railties/lib/rails | |
parent | 885453537e550489f825356ec4404d384893126a (diff) | |
download | rails-82e96eb294ae21528c3e05e91c05c7ee5222afbd.tar.gz rails-82e96eb294ae21528c3e05e91c05c7ee5222afbd.tar.bz2 rails-82e96eb294ae21528c3e05e91c05c7ee5222afbd.zip |
Dependencies move to ActiveSupport::Dependencies missed a few spots
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/plugin/loader.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/plugin/loader.rb b/railties/lib/rails/plugin/loader.rb index 1e542dd038..948d497007 100644 --- a/railties/lib/rails/plugin/loader.rb +++ b/railties/lib/rails/plugin/loader.rb @@ -45,9 +45,9 @@ module Rails plugins.each do |plugin| plugin.load_paths.each do |path| $LOAD_PATH.insert(application_lib_index + 1, path) - Dependencies.load_paths << path + ActiveSupport::Dependencies.load_paths << path unless Rails.configuration.reload_plugins? - Dependencies.load_once_paths << path + ActiveSupport::Dependencies.load_once_paths << path end end end |