mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-04 17:08:27 +02:00
init rewards system
This commit is contained in:
@@ -304,6 +304,15 @@ adminController.extend.widgets = function(req, res, next) {
|
||||
});
|
||||
};
|
||||
|
||||
adminController.extend.rewards = function(req, res, next) {
|
||||
require('../rewards/admin').get(function(err, data) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
res.render('admin/extend/rewards', data);
|
||||
});
|
||||
};
|
||||
|
||||
adminController.groups.get = function(req, res, next) {
|
||||
groups.list({
|
||||
|
||||
Reference in New Issue
Block a user