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