diff -r 4a3899b6a7ed -r 766af1228b05 cms/app-client/app/serializers/theme.js --- a/cms/app-client/app/serializers/theme.js Sun Oct 16 22:23:31 2016 +0530 +++ b/cms/app-client/app/serializers/theme.js Sun Oct 16 23:19:57 2016 +0530 @@ -4,13 +4,14 @@ normalizeResponse: function(store, primaryModelClass, payload) { var data = []; - Object.keys(payload).forEach(function(key) { + var themes = payload['themes']; + Object.keys(themes).forEach(function(key) { data.push({ 'id': key, 'type': 'theme', 'attributes': { - 'label': payload[key].label, - 'count': payload[key].count + 'label': themes[key].label, + 'count': themes[key].count } }); }); @@ -19,4 +20,4 @@ }; } -}); \ No newline at end of file +});