mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-26 16:41:21 +01:00
20 lines
350 B
JavaScript
20 lines
350 B
JavaScript
'use strict';
|
|
|
|
var async = require('async');
|
|
|
|
var rewardsController = module.exports;
|
|
|
|
rewardsController.get = function (req, res, next) {
|
|
async.waterfall([
|
|
function (next) {
|
|
require('../../rewards/admin').get(next);
|
|
},
|
|
function (data) {
|
|
res.render('admin/extend/rewards', data);
|
|
},
|
|
], next);
|
|
};
|
|
|
|
|
|
module.exports = rewardsController;
|