node-go/packages/server/routes/api/room.js
2020-02-05 16:54:09 -08:00

8 lines
251 B
JavaScript

const express = require('express');
const router = express.Router();
const apiRoomController = require('../../controllers/api/apiRoom');
router.get('/', apiRoomController.getAll);
router.get('/:id', apiRoomController.show);
module.exports = router;