diff --git a/src/routes/ticketAdmin.js b/src/routes/ticketAdmin.js new file mode 100644 index 0000000..0abb048 --- /dev/null +++ b/src/routes/ticketAdmin.js @@ -0,0 +1,10 @@ +const express = require('express'); + +const router = express.Router(); +const ticketController = require('../controllers/ticketAdmin'); + +router.get('/', ticketController.getAll); +router.put('/:ticketId', ticketController.updateById); +router.delete('/:ticketId', ticketController.deleteById); + +module.exports = router;