Sha256: 7b6f22d13f9a147c4994055ec24f836b1433b0cdabfd30bf100a313477d91693

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

json.partial! 'spree/api/shared/pagination', pagination: @taxons
json.taxons(@taxons) do |taxon|
  json.(taxon, *taxon_attributes)
  unless params[:without_children]
    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/taxons/index.json.jbuilder
solidus_api-4.4.0 app/views/spree/api/taxons/index.json.jbuilder