diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-12 19:28:03 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-12 19:28:03 -0600 |
commit | 9cc99498178f1e71da8b54f985d0483ea377421d (patch) | |
tree | 3c0e214ebe7352c5ee6ecfdf452fafb412ad5817 | |
parent | 4b4e517bf1d51e749a6cedb2dd5203b19ab080e5 (diff) | |
download | rails-9cc99498178f1e71da8b54f985d0483ea377421d.tar.gz rails-9cc99498178f1e71da8b54f985d0483ea377421d.tar.bz2 rails-9cc99498178f1e71da8b54f985d0483ea377421d.zip |
All AbstractController modules are deferrable
-rw-r--r-- | actionpack/lib/abstract_controller.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/actionpack/lib/abstract_controller.rb b/actionpack/lib/abstract_controller.rb index af3623e97e..92d2971ec3 100644 --- a/actionpack/lib/abstract_controller.rb +++ b/actionpack/lib/abstract_controller.rb @@ -4,11 +4,13 @@ require "active_support/core_ext/module/delegation" 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 |