Permalink
Browse files

All AbstractController modules are deferrable

  • Loading branch information...
1 parent 4b4e517 commit 9cc99498178f1e71da8b54f985d0483ea377421d @josh josh committed Dec 13, 2009
Showing with 9 additions and 7 deletions.
  1. +9 −7 actionpack/lib/abstract_controller.rb
@@ -4,11 +4,13 @@
module AbstractController
extend ActiveSupport::Autoload
- autoload :Base
- autoload :Callbacks
- autoload :Helpers
- autoload :Layouts
- autoload :LocalizedCache
- autoload :Logger
- autoload :RenderingController
+ deferrable do
+ autoload :Base
+ autoload :Callbacks
+ autoload :Helpers
+ autoload :Layouts
+ autoload :LocalizedCache
+ autoload :Logger
+ autoload :RenderingController
+ end
end

0 comments on commit 9cc9949

Please sign in to comment.