aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-04-15 02:21:01 -0300
committerwycats <wycats@gmail.com>2010-04-14 22:35:13 -0700
commita618ad358a51beead39eca3bf3ee029b66f34f73 (patch)
tree36455d0b5515df6591aea1c4d4328d5535abfd11 /actionpack/lib/action_view/helpers
parentfc22552e5f9abc9d5449f5b3c0d347e53d7d7575 (diff)
downloadrails-a618ad358a51beead39eca3bf3ee029b66f34f73.tar.gz
rails-a618ad358a51beead39eca3bf3ee029b66f34f73.tar.bz2
rails-a618ad358a51beead39eca3bf3ee029b66f34f73.zip
Make use of config.perform_caching
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 a904af56bb..98ac43c33a 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.perform_caching
+ if controller.config.perform_caching
if controller.fragment_exist?(name, options)
controller.read_fragment(name, options)
else