Navigation Menu

Skip to content

Commit

Permalink
Cause ApplicationController to be reloaded
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Aug 9, 2006
1 parent 9b20464 commit 36dfeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/dispatcher.rb
Expand Up @@ -99,7 +99,7 @@ def prepare_application
end end


prepare_breakpoint 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) ActiveRecord::Base.verify_active_connections! if defined?(ActiveRecord)
run_preparation_callbacks run_preparation_callbacks
end end
Expand Down

0 comments on commit 36dfeb9

Please sign in to comment.