mirror of
https://github.com/adlerosn/nodebb-plugin-groups-autoassigncategory.git
synced 2024-07-02 23:42:47 +00:00
20 lines
436 B
JavaScript
20 lines
436 B
JavaScript
'use strict';
|
|
|
|
var Controllers = {};
|
|
|
|
Controllers.renderAdminPage = function (req, res, next) {
|
|
/*
|
|
Make sure the route matches your path to template exactly.
|
|
|
|
If your route was:
|
|
myforum.com/some/complex/route/
|
|
your template should be:
|
|
templates/some/complex/route.tpl
|
|
and you would render it like so:
|
|
res.render('some/complex/route');
|
|
*/
|
|
|
|
res.render('admin/plugins/quickstart', {});
|
|
};
|
|
|
|
module.exports = Controllers; |