Sha256: 1b409e894d90c640a3e0e9aa67bdd47d56b816bc19bf7f6412e57912c7bd699a
Contents?: true
Size: 415 Bytes
Versions: 1
Compression:
Stored size: 415 Bytes
Contents
module InfoparkComponentCacheHelper def cache_tagged_component(obj, component, params={}, &block) InfoparkComponentCache::ComponentCache.new(obj, component, params).fetch do capture(&block) end end def cache_guarded_component(obj, component, guards, params, &block) InfoparkComponentCache::ComponentCache.new(obj, component, params, guards).fetch do capture(&block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
infopark_component_cache-1.1.0 | app/helpers/infopark_component_cache_helper.rb |