aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-12 19:28:03 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-12 19:28:03 -0600
commit9cc99498178f1e71da8b54f985d0483ea377421d (patch)
tree3c0e214ebe7352c5ee6ecfdf452fafb412ad5817
parent4b4e517bf1d51e749a6cedb2dd5203b19ab080e5 (diff)
downloadrails-9cc99498178f1e71da8b54f985d0483ea377421d.tar.gz
rails-9cc99498178f1e71da8b54f985d0483ea377421d.tar.bz2
rails-9cc99498178f1e71da8b54f985d0483ea377421d.zip
All AbstractController modules are deferrable
-rw-r--r--actionpack/lib/abstract_controller.rb16
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