kurko / ember-json-api

JSON API adapter for Ember Data.
MIT License
254 stars 62 forks source link

Changed method of requesting many records #10

Closed thriqon closed 10 years ago

thriqon commented 10 years ago

Before this commit, multiple records are queried using /users?ids=1,2,3 syntax, which uses the Index route in fortune. This route might be absent if .noIndex() has been called.

With this commit the Fortune and JSONAPI-conformant method of requesting by joining the ids with commas is used: /users/1,2,3.

First part of the diff is actually because apparently a grunt was forgotten prior to pushing the last commit?