diff options
Diffstat (limited to 'railties')
-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 6456ea25dc..33f1e8d1cd 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -41,7 +41,7 @@ class Dispatcher def prepare_application ActionController::Routing::Routes.reload if Dependencies.load? Breakpoint.activate_drb("druby://localhost:#{BREAKPOINT_SERVER_PORT}", nil, !defined?(FastCGI)) if defined?(BREAKPOINT_SERVER_PORT) - Controllers.const_load!("application") unless Controllers.const_defined?(:ApplicationController) + Controllers.const_load!(:ApplicationController, "application") unless Controllers.const_defined?(:ApplicationController) end def reset_application |