diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-15 16:21:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-15 16:21:56 +0000 |
commit | dcfd6aa3bd91c93adf6ed47453a084327f018000 (patch) | |
tree | 18ced844d47153bb3118a9d92790883a7a361b35 /actionpack | |
parent | b3767f7f0bcb138ec3c677a39ffe0cb145e1427f (diff) | |
download | rails-dcfd6aa3bd91c93adf6ed47453a084327f018000.tar.gz rails-dcfd6aa3bd91c93adf6ed47453a084327f018000.tar.bz2 rails-dcfd6aa3bd91c93adf6ed47453a084327f018000.zip |
Move Controllers wrapper module away from environment.rb and into dependencies.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/dependencies.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/dependencies.rb b/actionpack/lib/action_controller/dependencies.rb index 8bc013db66..abf6ca7417 100644 --- a/actionpack/lib/action_controller/dependencies.rb +++ b/actionpack/lib/action_controller/dependencies.rb @@ -85,4 +85,6 @@ module ActionController #:nodoc: end end end -end
\ No newline at end of file +end + +Controllers = Dependencies::LoadingModule.new(File.expand_path(File.join(RAILS_ROOT, 'app', 'controllers'))) if defined?(RAILS_ROOT)
\ No newline at end of file |