aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-11-09 18:22:44 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-11-09 18:22:44 +0000
commitd3100ec85500b970f94819a749f071eeb74dc206 (patch)
treef71bc1b4a136a7fd7a858dc7233d0313012bd06c /railties/lib
parent089d3ec3186014ace8c80c989c87c33a6b21f582 (diff)
downloadrails-d3100ec85500b970f94819a749f071eeb74dc206.tar.gz
rails-d3100ec85500b970f94819a749f071eeb74dc206.tar.bz2
rails-d3100ec85500b970f94819a749f071eeb74dc206.zip
Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/dispatcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb
index bafc8c28b2..be2f54a04c 100644
--- a/railties/lib/dispatcher.rb
+++ b/railties/lib/dispatcher.rb
@@ -101,7 +101,7 @@ class Dispatcher
end
prepare_breakpoint
- Dependencies.require_or_load('application') unless Object.const_defined?(:ApplicationController)
+ require_dependency 'application' unless Object.const_defined?(:ApplicationController)
ActiveRecord::Base.verify_active_connections! if defined?(ActiveRecord)
run_preparation_callbacks
end