cms/app-client/mirage/serializers/theme.js
changeset 339 766af1228b05
parent 319 78990a8a069b
child 474 245b4df137d3
--- a/cms/app-client/mirage/serializers/theme.js	Sun Oct 16 22:23:31 2016 +0530
+++ b/cms/app-client/mirage/serializers/theme.js	Sun Oct 16 23:19:57 2016 +0530
@@ -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() };
     }
 
 });