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