chore: split ticket in multiple componentts

This commit is contained in:
canove
2020-10-13 16:16:48 -03:00
parent 011d8d5dfe
commit 0b91a341ed
7 changed files with 605 additions and 525 deletions

View File

@@ -7,6 +7,8 @@ const ticketRoutes = express.Router();
ticketRoutes.get("/tickets", isAuth, TicketController.index);
ticketRoutes.get("/tickets/:ticketId", isAuth, TicketController.show);
ticketRoutes.post("/tickets", isAuth, TicketController.store);
ticketRoutes.put("/tickets/:ticketId", isAuth, TicketController.update);