df79e135ac
1 2 3 4 5 6 7 8 9
module ActionView module Helpers module CacheHelper def cache(binding, name, key = nil) @controller.cache_fragment(binding, name, key) { yield } end end end end