Sha256: c7a61522e435b9660afa64947830d4f332642236f0d928f41c6a1d325f3b4874
Contents?: true
Size: 327 Bytes
Versions: 14
Compression:
Stored size: 327 Bytes
Contents
require 'action_view' module Lawnchair module View module Helper def lawnchair_cache(key, &block) rendered_value = Lawnchair.cache(key, :raw => true) do capture(&block) end concat(rendered_value) end end end end ActionView::Base.send(:include, Lawnchair::View::Helper)
Version data entries
14 entries across 14 versions & 1 rubygems