Sha256: 1685e2d33551d4242689cd8d651a73132e877270dae8005abf1defbb4315dece

Contents?: true

Size: 129 Bytes

Versions: 15

Compression:

Stored size: 129 Bytes

Contents

json.array!(@categories) do |category|
  json.extract! category, :id, :name
  json.url category_url(category, format: :json)
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
restspec-0.3.2 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.3.1 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.3.0 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.2.6 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.2.5 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.2.4 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.2.3 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.2.2 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.2.1 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.2 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.1 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.0.4 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.0.3 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.0.2 examples/store-api/app/views/categories/index.json.jbuilder
restspec-0.0.1 examples/store-api/app/views/categories/index.json.jbuilder