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:
@@ -7,4 +7,8 @@ router
|
||||
.route('/devices')
|
||||
.get(deviceController.index);
|
||||
|
||||
router
|
||||
.route('/devices/:deviceId')
|
||||
.get(deviceController.view);
|
||||
|
||||
module.exports = router;
|
||||
|
Reference in New Issue
Block a user