lib/locals.js
function addAvailableComponents(req, res, next) {
  res.locals.components = files.getComponents();
  next();
}
function addAvailableComponents(req, res, next) {
  res.locals.components = files.getComponents();
  next();
}
function addAvailableComponents ( req , res , next ) { res . locals . components = files . getComponents ( ) ; next ( ) ; }
Adds available components to locals
@param {Object} req
@param {Object} res
@param {Function} next
Adds available components to locals