Gavant / ember-data-fastboot-route

Addon for handling the fastboot shoebox for each route
MIT License
5 stars 1 forks source link

Single model routes #1

Closed billdami closed 7 years ago

billdami commented 7 years ago

Previously, when fastboot-data-route was applied to a route that fetches a single model (e.g. via store.findRecord()), the data was being serialized and returned as an array with a single element. This was problematic because the route/controller expects the returned model to be a single object in these cases.