diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-04-15 02:21:01 -0300 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-04-14 22:35:13 -0700 |
commit | a618ad358a51beead39eca3bf3ee029b66f34f73 (patch) | |
tree | 36455d0b5515df6591aea1c4d4328d5535abfd11 /actionpack/lib/action_view | |
parent | fc22552e5f9abc9d5449f5b3c0d347e53d7d7575 (diff) | |
download | rails-a618ad358a51beead39eca3bf3ee029b66f34f73.tar.gz rails-a618ad358a51beead39eca3bf3ee029b66f34f73.tar.bz2 rails-a618ad358a51beead39eca3bf3ee029b66f34f73.zip |
Make use of config.perform_caching
Diffstat (limited to 'actionpack/lib/action_view')
-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 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 |