aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorSantiago Pastorino and Carl Lerche <santiago+carl@wyeworks.com>2010-04-15 16:58:54 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-04-15 18:25:08 -0300
commit0ea434e2f4083368fe9657aae9ceb5c484336f14 (patch)
tree0b665d482b792621fd8c7675b053d763fa6cc47c /actionpack/lib/action_view/helpers
parent005c2bac46051581e5af826a183c66185022772d (diff)
downloadrails-0ea434e2f4083368fe9657aae9ceb5c484336f14.tar.gz
rails-0ea434e2f4083368fe9657aae9ceb5c484336f14.tar.bz2
rails-0ea434e2f4083368fe9657aae9ceb5c484336f14.zip
Make perform_caching work again, with the tests passing and backward compatible
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/cache_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/cache_helper.rb b/actionpack/lib/action_view/helpers/cache_helper.rb
index 98ac43c33a..9c6fc752e5 100644
--- a/actionpack/lib/action_view/helpers/cache_helper.rb
+++ b/actionpack/lib/action_view/helpers/cache_helper.rb
@@ -39,7 +39,7 @@ module ActionView
private
# TODO: Create an object that has caching read/write on it
def fragment_for(name = {}, options = nil, &block) #:nodoc:
- if controller.config.perform_caching
+ if controller.class.perform_caching
if controller.fragment_exist?(name, options)
controller.read_fragment(name, options)
else