1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Cause ApplicationController to be reloaded

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-08-09 16:50:27 +00:00
parent 9b204641c0
commit 36dfeb9a36

View file

@ -99,7 +99,7 @@ class Dispatcher
end
prepare_breakpoint
require_dependency('application.rb') unless Object.const_defined?(:ApplicationController)
Dependencies.require_or_load('application.rb', "ApplicationController") unless Object.const_defined?(:ApplicationController)
ActiveRecord::Base.verify_active_connections! if defined?(ActiveRecord)
run_preparation_callbacks
end