lib/web/handlers/web.js
function render(req, res, template, data, options) {
    res.render(template, misc.merge({
      user: req.remoteUser,
      title: dreadnot.config.name,
      env: dreadnot.config.env,
      url: req.originalUrl,
      emsg: res.emsg,
      wmsg: dreadnot.warning,
      helpers: viewHelpers,
      data: data
    }, options || {}));
  }
function render(req, res, template, data, options) {
    res.render(template, misc.merge({
      user: req.remoteUser,
      title: dreadnot.config.name,
      env: dreadnot.config.env,
      url: req.originalUrl,
      emsg: res.emsg,
      wmsg: dreadnot.warning,
      helpers: viewHelpers,
      data: data
    }, options || {}));
  }
Utility function for rendering responses