Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 244 Bytes
module ActionView
module Helpers
# See ActionController::Caching::Fragments for usage instructions.
module CacheHelper
def cache(name = {}, &block)
@controller.cache_erb_fragment(block, name)
end
end
end
end
Something went wrong with that request. Please try again.