add route: PrivateTicket

This commit is contained in:
Francesco Esposito 2019-08-06 18:48:21 +02:00
parent c8f2eb26ee
commit 7de6a4eb08
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import express from 'express';
import { getAll, updateById, deleteById } from '../controllers/ticket';
const router = express.Router();
router.get('/', getAll);
router.put('/:ticketId', updateById);
router.delete('/:ticketId', deleteById);
export default router;