lib/locals.js
function addQueryParams(req, res, next) {
  _assign(res.locals, req.params, req.query);
  next();
}
function addQueryParams(req, res, next) {
  _assign(res.locals, req.params, req.query);
  next();
}
function addQueryParams ( req , res , next ) { _assign ( res . locals , req . params , req . query ) ; next ( ) ; }
Adds query params to locals
@param {Object} req
@param {Object} res
@param {Function} next
Adds query params to locals