mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: add missing render function
This commit is contained in:
@@ -88,7 +88,9 @@ function groupRoutes(app, middleware, controllers) {
|
||||
|
||||
module.exports = function (app, middleware, callback) {
|
||||
const router = express.Router();
|
||||
|
||||
router.render = function () {
|
||||
app.render.apply(app, arguments);
|
||||
};
|
||||
var relativePath = nconf.get('relative_path');
|
||||
var ensureLoggedIn = require('connect-ensure-login');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user