Sha256: 83ac2a6ffcfc0193f3c1a3913ec250092263b39075ff5e6bdfb73f4b6b5b970c

Contents?: true

Size: 322 Bytes

Versions: 16

Compression:

Stored size: 322 Bytes

Contents

json.cache! taxon.cache_key, expires_in: 1.day do
  json.id taxon.id
  json.url taxon_path(taxon)
  json.name taxon.name
  json.depth taxon.depth
  json.navigable_url taxon.url.presence || storefront_api_url_for(taxon)
  json.parent_id taxon.parent_id
  json.parent_ids taxon.parent_ids
  json.position taxon.position
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
workarea-api-4.5.6 storefront/app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-storefront-4.5.6 app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-4.5.5 storefront/app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-storefront-4.5.5 app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-4.5.4 storefront/app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-storefront-4.5.4 app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-4.5.3 storefront/app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-storefront-4.5.3 app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-4.5.2 storefront/app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-storefront-4.5.2 app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-4.5.0 storefront/app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-storefront-4.5.0 app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-4.4.7 storefront/app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-storefront-4.4.7 app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-4.4.6 storefront/app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder
workarea-api-storefront-4.4.6 app/views/workarea/api/storefront/taxons/_taxon.json.jbuilder