Sha256: 13392bd0dfd6e9e19fa41a41e82f68291f057ce676c7298b3349b2f9de4193e3
Contents?: true
Size: 387 Bytes
Versions: 12
Compression:
Stored size: 387 Bytes
Contents
json.cache! menu.cache_key, expires_in: 1.hour do json.id menu.id json.name menu.name json.position menu.position json.url menu_path(menu) json.taxon_url menu.taxon.url.presence || storefront_api_url_for(menu.taxon) json.content_blocks menu.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