Widgets refactor (#5817)

* widgets refactor

render widgets server side
widgets can use all the data the template can use

* fix tests
This commit is contained in:
Barış Soner Uşaklı
2017-07-10 12:54:45 -04:00
committed by GitHub
parent 65329b9bd7
commit 923bd86662
10 changed files with 135 additions and 130 deletions

View File

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