Sha256: 93368a5fa04702d494087867e9bcdf183b2f6897b0aaf49497832581c91f178c

Contents?: true

Size: 389 Bytes

Versions: 4

Compression:

Stored size: 389 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 do |block|
    json.partial! 'workarea/api/storefront/content_blocks/block', block: block
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
workarea-api-4.4.7 storefront/app/views/workarea/api/storefront/system_content/show.json.jbuilder
workarea-api-storefront-4.4.7 app/views/workarea/api/storefront/system_content/show.json.jbuilder
workarea-api-4.4.6 storefront/app/views/workarea/api/storefront/system_content/show.json.jbuilder
workarea-api-storefront-4.4.6 app/views/workarea/api/storefront/system_content/show.json.jbuilder