mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-11 01:52:55 +01:00
21 lines
357 B
JavaScript
21 lines
357 B
JavaScript
'use strict';
|
|
|
|
var async = require('async');
|
|
|
|
var social = require('../../social');
|
|
|
|
var socialController = module.exports;
|
|
|
|
socialController.get = function (req, res, next) {
|
|
async.waterfall([
|
|
function (next) {
|
|
social.getPostSharing(next);
|
|
},
|
|
function (posts) {
|
|
res.render('admin/general/social', {
|
|
posts: posts,
|
|
});
|
|
},
|
|
], next);
|
|
};
|