mirror of
https://github.com/jlengrand/sample-node-api.git
synced 2026-03-10 08:41:23 +00:00
start restart script, missing feature
Signed-off-by: Nakul Manchanda <nakul.manchanda@ibm.com>
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user