Skip to content
This repository
tag: v1.2.6
Fetching contributors…

Cannot retrieve contributors at this time

file 10 lines (10 sloc) 0.244 kb
1 2 3 4 5 6 7 8 9 10
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.