widgets refactor

render widgets server side
widgets can use all the data the template can use
This commit is contained in:
Baris Usakli
2017-07-07 15:33:16 -04:00
parent 121a629de6
commit 9e94edb5aa
10 changed files with 132 additions and 129 deletions

View File

@@ -72,7 +72,7 @@ admin.get = function (callback) {
callback(false, {
templates: templates,
areas: widgetData.areas,
widgets: widgetData.widgets,
availableWidgets: widgetData.widgets,
});
});
});