mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
chore: split ticket in multiple componentts
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user