function show(req, res, next) {
  var kitId = req.params.id;

	req.result = Kit
								.findById(kitId)
								.populate('owner')
								.populate('files')
								.populate('published')								
								.exec();
	next();
}
/**
 * Get a single resource
 * restriction: 'authenticate'
 */
Get a single resource
restriction: 'authenticate'
Get a single resource restriction : ' authenticate '
function show(req, res, next) {
  var kitId = req.params.id;
	req.result = Kit
								.findById(kitId)
								.populate('owner')
								.populate('files')
								.populate('published')								
								.exec();
	next();
}
function show ( req , res , next ) { var kitId = req . params . id ; req . result = Kit . findById ( kitId ) . populate ( 'owner' ) . populate ( 'files' ) . populate ( 'published' ) . exec ( ) ; next ( ) ; }
Get a single resource
 restriction: 'authenticate'
Get a single resource restriction : ' authenticate '