node-go/server/routes/api/room.js

9 lines
251 B
JavaScript
Raw Normal View History

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