changeset 319 | 78990a8a069b |
parent 306 | 3fccf43160a7 |
child 474 | 245b4df137d3 |
--- a/cms/app-client/mirage/serializers/theme.js Mon Oct 03 16:32:41 2016 +0200 +++ b/cms/app-client/mirage/serializers/theme.js Tue Oct 04 11:58:39 2016 +0200 @@ -30,7 +30,7 @@ } else { array = response.models; } - return _(array).map((theme) => { return [theme.id, {count: theme.count, label: theme.label}];}).object().value(); + return { 'themes': _(array).map((theme) => { return [theme.id, {count: theme.count, label: theme.label}];}).object().value() }; } });