diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-05-29 17:03:23 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-05-29 17:03:23 -0500 |
commit | 669fd84910586d4c791b6f5bf4320f68ac7845aa (patch) | |
tree | ec246bdf6fe6fc61219c59837c4bec07ba19e267 /actionpack/lib/action_controller/base/chained | |
parent | c7c35be8fe30b3e29a5d05edae767f7d6a286911 (diff) | |
download | rails-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/base/chained')
-rw-r--r-- | actionpack/lib/action_controller/base/chained/flash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base/chained/flash.rb b/actionpack/lib/action_controller/base/chained/flash.rb index 04d27bf090..42c6e430ca 100644 --- a/actionpack/lib/action_controller/base/chained/flash.rb +++ b/actionpack/lib/action_controller/base/chained/flash.rb @@ -29,7 +29,7 @@ module ActionController #:nodoc: extend ActiveSupport::Concern # TODO : Remove the defined? check when new base is the main base - depends_on Session if defined?(ActionController::Http) + include Session if defined?(ActionController::Http) included do # TODO : Remove the defined? check when new base is the main base |