diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/dispatcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index b62a497207..2a882ae1b4 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -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 |