Browse files

action_dispatch and action_view are just more autoloads, so its okay …

…to require them
  • Loading branch information...
josh committed Aug 31, 2009
1 parent c63dac8 commit 8974ab2e2e2faf647b03859b618b0302ac6cfcf4
Showing with 2 additions and 3 deletions.
  1. +2 −3 actionpack/lib/action_controller.rb
@@ -59,9 +59,8 @@ module ActionController
autoload :HTML, 'action_controller/vendor/html-scanner'
autoload :AbstractController, 'abstract_controller'
-autoload :Rack, 'action_dispatch'
-autoload :ActionDispatch, 'action_dispatch'
-autoload :ActionView, 'action_view'
+require 'action_dispatch'
+require 'action_view'
# Common ActiveSupport usage in ActionController
require "active_support/concern"

0 comments on commit 8974ab2

Please sign in to comment.