Sha256: 7a58a8d53b483b1cdb5eddb5b9333d429a43ca2f89ecec6d08e30ff600dc99bc
Contents?: true
Size: 272 Bytes
Versions: 2
Compression:
Stored size: 272 Bytes
Contents
# frozen_string_literal: true json.(taxonomy, *taxonomy_attributes) json.root do json.(taxonomy.root, *taxon_attributes) json.taxons(taxonomy.root.children) do |taxon| json.(taxon, *taxon_attributes) json.partial!("spree/api/taxons/taxons", taxon:) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_api-4.4.1 | app/views/spree/api/taxonomies/_nested.json.jbuilder |
solidus_api-4.4.0 | app/views/spree/api/taxonomies/_nested.json.jbuilder |