Files
NodeBB/src/controllers/admin/widgets.js
Barış Soner Uşaklı 0f234601f1 style changes
2017-06-22 19:03:49 -04:00

17 lines
312 B
JavaScript

'use strict';
var async = require('async');
var widgetsController = module.exports;
widgetsController.get = function (req, res, next) {
async.waterfall([
function (next) {
require('../../widgets/admin').get(next);
},
function (data) {
res.render('admin/extend/widgets', data);
},
], next);
};