-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.php
16 lines (14 loc) · 910 Bytes
/
routes.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
$router = new Router();
$router->define([
'' => new Route('app/Controllers/TicketsController.php'),
'Tickets' => new Route('app/Controllers/TicketsController.php', 'Tickets'),
'InsertTicket' => new Route('app/Controllers/InsertTicketController.php', 'Ticket Hinzufügen'),
'UpdateTicket' => new Route('app/Controllers/UpdateTicketController.php'),
'ValidateTicket' => new Route('app/Controllers/ValidateTicketController.php', '', true),
'SetTicketPayed' => new Route('app/Controllers/SetPayedController.php', '', true),
'Personen' => new Route('app/Controllers/PersonenController.php', 'Personen'),
'InsertPerson' => new Route('app/Controllers/InsertPersonController.php', 'Person Hinzufügen'),
'UpdatePerson' => new Route('app/Controllers/UpdatePersonController.php'),
'ValidatePerson' => new Route('app/Controllers/ValidatePersonController.php', '', true)
]);