var express = require('express'); var router = express.Router(); var gameController = require('../../controllers/gameController.js'); router.get('/', gameController.list); router.post('/', gameController.create); router.delete('/', gameController.remove); module.exports = router;