got the basic ui, dragging, sorting etc going for widgets acp

This commit is contained in:
psychobunny
2014-02-19 12:46:55 -05:00
parent fa5f528fb5
commit 447cff1995
3 changed files with 64 additions and 4 deletions

View File

@@ -410,9 +410,9 @@ var nconf = require('nconf'),
});
app.get('/themes', function (req, res) {
plugins.fireHook('filter:widgets.getAreas', [], function(err, widgets) {
plugins.fireHook('filter:widgets.getAreas', [], function(err, areas) {
res.json(200, {
widgets: widgets
areas: areas
});
});
});