aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/caching.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-02-12 05:51:02 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-02-12 05:51:02 +0000
commit050c3964d8fe8d68c03fff593e3c09b5eae77a46 (patch)
tree9331224443d2415be34543af3a94d415c7020d31 /actionpack/lib/action_controller/caching.rb
parent838ec413ebe08be71eea3dec0b061c6f609c839f (diff)
downloadrails-050c3964d8fe8d68c03fff593e3c09b5eae77a46.tar.gz
rails-050c3964d8fe8d68c03fff593e3c09b5eae77a46.tar.bz2
rails-050c3964d8fe8d68c03fff593e3c09b5eae77a46.zip
Stopped the massive bleeding of concerns into ActionController::Base. Base no longer knows about flash, filters, or components. This may well have introduced some instability, please do test with apps, especially the ones using components. [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/caching.rb')
-rw-r--r--actionpack/lib/action_controller/caching.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb
index dda54459ed..e6849596db 100644
--- a/actionpack/lib/action_controller/caching.rb
+++ b/actionpack/lib/action_controller/caching.rb
@@ -8,9 +8,9 @@ module ActionController #:nodoc:
#
# Note: To turn off all caching and sweeping, set Base.perform_caching = false.
module Caching
- def self.append_features(base) #:nodoc:
- super
+ def self.included(base) #:nodoc:
base.send(:include, Pages, Actions, Fragments, Sweeping)
+
base.class_eval do
@@perform_caching = true
cattr_accessor :perform_caching