Cause ApplicationController to be reloaded

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 9b204641
......@@ -99,7 +99,7 @@ def prepare_application
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册