aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-04-18 13:04:04 -0700
committerCarl Lerche <carllerche@mac.com>2010-04-18 13:04:04 -0700
commiteb83c9cf42aa208371643cdb10a2cbb8373e60ac (patch)
treeb75c0cdce2f9186b6935ec16897194c6d232ee59 /actionpack/lib/action_view/helpers
parentd32a4cbaa5174cc1a73d41a73f55145251c18c84 (diff)
parent978c80d6e347b060dc11ee666c8a3a61fc9408a4 (diff)
downloadrails-eb83c9cf42aa208371643cdb10a2cbb8373e60ac.tar.gz
rails-eb83c9cf42aa208371643cdb10a2cbb8373e60ac.tar.bz2
rails-eb83c9cf42aa208371643cdb10a2cbb8373e60ac.zip
Merge remote branch 'spastorino/master'
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 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