aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/new_base/layouts.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-05-29 17:03:23 -0500
committerJoshua Peek <josh@joshpeek.com>2009-05-29 17:03:23 -0500
commit669fd84910586d4c791b6f5bf4320f68ac7845aa (patch)
treeec246bdf6fe6fc61219c59837c4bec07ba19e267 /actionpack/lib/action_controller/new_base/layouts.rb
parentc7c35be8fe30b3e29a5d05edae767f7d6a286911 (diff)
downloadrails-669fd84910586d4c791b6f5bf4320f68ac7845aa.tar.gz
rails-669fd84910586d4c791b6f5bf4320f68ac7845aa.tar.bz2
rails-669fd84910586d4c791b6f5bf4320f68ac7845aa.zip
AS::Concern redefines "include" to lazy include modules as dependencies
Diffstat (limited to 'actionpack/lib/action_controller/new_base/layouts.rb')
-rw-r--r--actionpack/lib/action_controller/new_base/layouts.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/new_base/layouts.rb b/actionpack/lib/action_controller/new_base/layouts.rb
index 727358c394..0ff71587d6 100644
--- a/actionpack/lib/action_controller/new_base/layouts.rb
+++ b/actionpack/lib/action_controller/new_base/layouts.rb
@@ -2,8 +2,8 @@ module ActionController
module Layouts
extend ActiveSupport::Concern
- depends_on ActionController::Renderer
- depends_on AbstractController::Layouts
+ include ActionController::Renderer
+ include AbstractController::Layouts
module ClassMethods
def _implied_layout_name