added current template name to return

v1.18.x
barisusakli 10 years ago
parent 15c2b124e3
commit d5453efdac

@ -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;

Loading…
Cancel
Save