server/server/articles/articles.controller.js
/**
 * Load articles and append to req.
 */
Load articles and append to req.
Load articles and append to req .
function load(req, res, next, id) {
	Article.get(id)
		.then((article) => {
			req.article = article;
			return next();
		})
		.catch(
			(e) => next(e),
		);
}
function load ( req , res , next , id ) { Article . get ( id ) . then ( ( article ) => { req . article = article ; return next ( ) ; } ) . catch ( ( e ) => next ( e ) , ) ; }
Load articles and append to req.
Load articles and append to req .
/* istanbul ignore next : handled by param-validation or load*/