Sha256: 1942560c20cc742494406298b1b77b5ab8147588e7cf57eb774016a0931c16dd
Contents?: true
Size: 407 Bytes
Versions: 12
Compression:
Stored size: 407 Bytes
Contents
json.cache! @content.cache_key, expires_in: 1.hour do json.id @content.id json.name @content.name json.url system_content_url(@content.name) json.browser_title @content.browser_title json.meta_description @content.meta_description json.content_blocks @content.content.blocks.select(&:active?) do |block| json.partial! 'workarea/api/storefront/content_blocks/block', block: block end end
Version data entries
12 entries across 12 versions & 2 rubygems