module.exports = function(req, res, next) {
  if (CONFIG[CONFIG.environment].sessions !== false) {
    res.locals.csrfToken = req.csrfToken();
  }

  next();
}

@@ -141,16 +141,70 @@
 );%0A  %7D%0A%0A
+  res.locals.routeMappings = CONFIG.router.mappings;%0A%0A
   next()

Add locals.routeMappings helper