lib/middleware/forms.js
function list(req, res, next) {
  var notStats = req.query && (req.query.notStats === 'true' || req.query.notStats === true);
  var opts = _.extend(req.connectionOptions, { notStats: notStats });

  logger.debug("List Forms Middleware ", opts);
  forms.getAllForms(opts, formsResultHandlers(constants.resultTypes.forms, req, next));
}
function list(req, res, next) {
  var notStats = req.query && (req.query.notStats === 'true' || req.query.notStats === true);
  var opts = _.extend(req.connectionOptions, { notStats: notStats });

  logger.debug("List Forms Middleware ", opts);
  forms.getAllForms(opts, formsResultHandlers(constants.resultTypes.forms, req, next));
}
function list ( req , res , next ) { var notStats = req . query && ( req . query . notStats === 'true' || req . query . notStats === true ) ; var opts = _ . extend ( req . connectionOptions , { notStats : notStats } ) ; logger . debug ( "List Forms Middleware " , opts ) ; forms . getAllForms ( opts , formsResultHandlers ( constants . resultTypes . forms , req , next ) ) ; }
List All Forms
@param req
@param res
@param next
List All Forms