blob: b44b436ef44563c686e23c2f1cb0db22d10e5a1c (
plain) (
tree)
|
|
module ActionView
module Helpers
# See ActionController::Caching::Fragments for usage instructions.
module CacheHelper
def cache(binding, name = {})
@controller.cache_erb_fragment(binding, name) { yield }
end
end
end
end
|