app/views/workarea/api/storefront/pages/show.json.jbuilder in workarea-api-storefront-4.4.7 vs app/views/workarea/api/storefront/pages/show.json.jbuilder in workarea-api-storefront-4.5.0

- old
+ new

@@ -8,9 +8,9 @@ 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.content_blocks @page.content.blocks.select(&:active?) do |block| json.partial! 'workarea/api/storefront/content_blocks/block', block: block end end