feat(database): add tickets (admin) routes

This commit is contained in:
frab1t 2019-07-04 08:56:40 +02:00
parent 085e8c1fbd
commit 62470c3d6c
1 changed files with 10 additions and 0 deletions

10
src/routes/ticketAdmin.js Normal file
View File

@ -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;