Sha256: d693e7e45a06971de8db42cfc73b191fb2df8645343e33414cb92e099415dbfd

Contents?: true

Size: 270 Bytes

Versions: 101

Compression:

Stored size: 270 Bytes

Contents

object @taxonomy

if params[:set] == 'nested'
  extends 'spree/api/v1/taxonomies/nested'
else
  attributes *taxonomy_attributes

  child root: :root do
    attributes *taxon_attributes

    child children: :taxons do
      attributes *taxon_attributes
    end
  end
end

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
spree_api-4.2.0.rc1 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.0.4 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-3.7.11 app/views/spree/api/v1/taxonomies/show.v1.rabl
spree_api-4.1.11 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.10 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.2.0.beta app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.9 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.8 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.7 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.6 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.5 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.4 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.3 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.2 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.1 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.0 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.0.rc3 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.0.rc2 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-4.1.0.rc1 app/views/spree/api/v1/taxonomies/show.rabl
spree_api-3.4.6 app/views/spree/api/v1/taxonomies/show.v1.rabl