Sha256: a972dcd0feb249ec5adcdaf59ba64d7ae200223c41f86087aa2f0beb26cc00ae

Contents?: true

Size: 401 Bytes

Versions: 102

Compression:

Stored size: 401 Bytes

Contents

object false
node(:count) { @taxons.count }
node(:total_count) { @taxons.total_count }
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
node(:per_page) { params[:per_page] || Kaminari.config.default_per_page }
node(:pages) { @taxons.num_pages }
child @taxons => :taxons do
  attributes *taxon_attributes
  unless params[:without_children]
    extends "spree/api/taxons/taxons"
  end
end

Version data entries

102 entries across 102 versions & 2 rubygems

Version Path
spree_api-2.1.4 app/views/spree/api/taxons/index.v1.rabl
spree_api-2.0.8 app/views/spree/api/taxons/index.v1.rabl