1
0
mirror of https://github.com/franjsco/trackmyd-api synced 2025-06-06 00:29:14 +02:00

add view single device routes/controller

This commit is contained in:
Francesco Esposito
2019-02-19 19:32:28 +01:00
parent f3842099e1
commit 673857ee52
2 changed files with 15 additions and 0 deletions

View File

@@ -7,4 +7,8 @@ router
.route('/devices')
.get(deviceController.index);
router
.route('/devices/:deviceId')
.get(deviceController.view);
module.exports = router;