2020-01-18 23:42:45 +00:00
|
|
|
const express = require('express');
|
|
|
|
const router = express.Router();
|
|
|
|
const apiRoomController = require('../../controllers/api/apiRoom');
|
|
|
|
|
2020-01-22 00:01:35 +00:00
|
|
|
router.get('/', apiRoomController.getAll);
|
|
|
|
router.get('/:id', apiRoomController.show);
|
2020-01-18 23:42:45 +00:00
|
|
|
|
|
|
|
module.exports = router;
|