Nearly all AC modules can be deferred

This commit is contained in:
Joshua Peek 2009-12-12 19:41:58 -06:00
parent 9cc9949817
commit 289c9a24fc

@ -3,51 +3,55 @@
module ActionController module ActionController
extend ActiveSupport::Autoload extend ActiveSupport::Autoload
autoload :Base deferrable do
autoload :Caching autoload :Base
autoload :PolymorphicRoutes autoload :Caching
autoload :RecordIdentifier autoload :PolymorphicRoutes
autoload :UrlRewriter autoload :Translation
autoload :Translation autoload :Metal
autoload :Metal autoload :Middleware
autoload :Middleware
autoload_under "metal" do autoload_under "metal" do
autoload :Benchmarking autoload :Benchmarking
autoload :ConditionalGet autoload :ConditionalGet
autoload :Configuration autoload :Configuration
autoload :Head autoload :Head
autoload :Helpers autoload :Helpers
autoload :HideActions autoload :HideActions
autoload :Layouts autoload :Layouts
autoload :MimeResponds autoload :MimeResponds
autoload :RackConvenience autoload :RackConvenience
autoload :Compatibility autoload :Compatibility
autoload :Redirector autoload :Redirector
autoload :RenderingController autoload :RenderingController
autoload :RenderOptions autoload :RenderOptions
autoload :Rescue autoload :Rescue
autoload :Responder autoload :Responder
autoload :Session autoload :Session
autoload :SessionManagement autoload :SessionManagement
autoload :UrlFor autoload :UrlFor
autoload :Verification autoload :Verification
autoload :Flash autoload :Flash
autoload :RequestForgeryProtection autoload :RequestForgeryProtection
autoload :Streaming autoload :Streaming
autoload :HttpAuthentication autoload :HttpAuthentication
autoload :FilterParameterLogging autoload :FilterParameterLogging
autoload :Cookies autoload :Cookies
end
autoload :Dispatcher, 'action_controller/dispatch/dispatcher'
autoload :PerformanceTest, 'action_controller/deprecated/performance_test'
autoload :Routing, 'action_controller/deprecated'
autoload :Integration, 'action_controller/deprecated/integration_test'
autoload :IntegrationTest, 'action_controller/deprecated/integration_test'
end end
autoload :Dispatcher, 'action_controller/dispatch/dispatcher' autoload :RecordIdentifier
autoload :PerformanceTest, 'action_controller/deprecated/performance_test' autoload :UrlRewriter
autoload :Routing, 'action_controller/deprecated'
autoload :Integration, 'action_controller/deprecated/integration_test'
autoload :IntegrationTest, 'action_controller/deprecated/integration_test'
autoload :UrlWriter, 'action_controller/url_rewriter' autoload :UrlWriter, 'action_controller/url_rewriter'
# TODO: Don't autoload exceptions, setup explicit
# requires for files that need them
autoload_at "action_controller/metal/exceptions" do autoload_at "action_controller/metal/exceptions" do
autoload :ActionControllerError autoload :ActionControllerError
autoload :RenderError autoload :RenderError