Commit Graph

6 Commits

Author SHA1 Message Date
Toby Zerner
46c538c157 Better handling of AJAX errors 2015-02-03 18:40:34 +10:30
Toby Zerner
fea84e5ed1 JsonApiAdapter fix to make index "load more" work 2015-01-30 12:05:57 +10:30
Toby Zerner
d13ef6f1fc More flexible API URL (necessary for testing) 2015-01-23 12:48:21 +10:30
Toby Zerner
abc794c966 Change the way we fetch multiple posts by ID
JSON-API specifies that multiple resources should be fetched with a
comma-separated list of IDs, i.e. discussions/1,2,3,4. But this is
problematic because if we do a findQuery with only one ID, then a
single object will come back from the API where the serializer is
expecting an array containing a single object.

Instead, I’ve just implemented an ids “filter” on the discussions index
API route (which is the default way that the adapter finds multiple
IDs.)
2015-01-16 17:26:17 +10:30
Toby Zerner
238bb40360 Upgrade ember-cli to 0.1.4 and fix related breakage. closes #18 2014-12-23 12:45:07 +10:30
Toby Zerner
74db323f83 Hello world! 2014-12-20 16:56:46 +10:30