mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-08 15:47:40 +01:00
added current template name to return
This commit is contained in:
@@ -392,6 +392,7 @@ middleware.processRender = function(req, res, next) {
|
||||
}
|
||||
|
||||
options.loggedIn = req.user ? parseInt(req.user.uid, 10) !== 0 : false;
|
||||
options[template] = true;
|
||||
|
||||
if ('function' !== typeof fn) {
|
||||
fn = defaultFn;
|
||||
|
||||
Reference in New Issue
Block a user