diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-04-17 19:10:10 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-04-17 23:40:03 -0300 |
commit | 9c4ac84e495c1476758aa8bcc764f6c1a935f404 (patch) | |
tree | 9d119bf013de8ce03de82a9e9e02a14be661b323 | |
parent | 4309c1fda3d778b16569b74a7d86ec19b5e994a3 (diff) | |
download | rails-9c4ac84e495c1476758aa8bcc764f6c1a935f404.tar.gz rails-9c4ac84e495c1476758aa8bcc764f6c1a935f404.tar.bz2 rails-9c4ac84e495c1476758aa8bcc764f6c1a935f404.zip |
perform_caching should be accessed through the controller here
-rw-r--r-- | actionpack/lib/action_view/helpers/cache_helper.rb | 2 |
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 9c6fc752e5..a904af56bb 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.class.perform_caching + if controller.perform_caching if controller.fragment_exist?(name, options) controller.read_fragment(name, options) else |