Sha256: 9ef71bac85cf9dc3744d5a01425c2179c31ef1746fc73d96a798f158e3e21e5c
Contents?: true
Size: 479 Bytes
Versions: 4
Compression:
Stored size: 479 Bytes
Contents
json.cache! @page.cache_key, expires_in: 1.hour do json.id @page.id json.name @page.name json.url page_url(@page) json.browser_title @page.browser_title json.meta_description @page.meta_description json.breadcrumbs @page.breadcrumbs do |taxon| json.partial! 'workarea/api/storefront/taxons/taxon', taxon: taxon end json.content_blocks @page.content.blocks do |block| json.partial! 'workarea/api/storefront/content_blocks/block', block: block end end
Version data entries
4 entries across 4 versions & 2 rubygems