start restart script, missing feature

Signed-off-by: Nakul Manchanda <nakul.manchanda@ibm.com>
This commit is contained in:
Nakul Manchanda
2019-04-01 19:48:10 -04:00
parent dd1fcc4e37
commit f963f53b50
4 changed files with 25 additions and 1 deletions

View File

@@ -3,10 +3,16 @@ const router = express.Router({ mergeParams: true });
const accountsCarsController = require('../controllers/accountsCars.controller');
/*
// Add missing feature
// un-comment this to implement two new routes
// accounts/:id/cars & accounts/:id/cars/:id2
router.route('/cars')
.get(accountsCarsController.getAll);
router.route('/cars/:_id')
.get(accountsCarsController.get);
*/
module.exports = router;