This repository has been archived by the owner on Jan 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathroutes.php
32 lines (31 loc) · 2 KB
/
routes.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
$router = new Router();
$router->define([
'' => 'app/Controllers/HomeController.php',
'CreateBorrow' => 'app/Controllers/BorrowVideoController.php',
'api/Membership/GetById' => 'app/Controllers/GetMembershipByIdController.php',
'api/Membership/DeleteById' => 'app/Controllers/DeleteMembershipByIdController.php',
'api/Membership/Add' => 'app/Controllers/AddMembershipController.php',
'api/Membership/GetAll' => 'app/Controllers/GetAllMembershipsController.php',
'api/Video/GetAll' => 'app/Controllers/GetAllVideosController.php',
'api/Video/GetById' => 'app/Controllers/GetVideoByIdController.php',
'api/Video/DeleteById' => 'app/Controllers/DeleteVideoByIdController.php',
'api/Video/Add' => 'app/Controllers/AddVideoController.php',
'api/Customer/Add' => 'app/Controllers/AddCustomerController.php',
'api/Customer/DeleteById' => 'app/Controllers/DeleteCustomerByIdController.php',
'api/Customer/GetAll' => 'app/Controllers/GetAllCustomersController.php',
'api/Customer/GetById' => 'app/Controllers/GetCustomerByIdController.php',
'api/Borrow/Add' => 'app/Controllers/AddBorrowController.php',
'api/Borrow/GetAll' => 'app/Controllers/GetAllBorrowsController.php',
'api/Borrow/GetById' => 'app/Controllers/GetBorrowByIdController.php',
'api/Borrow/DeleteById' => 'app/Controllers/DeleteBorrowByIdController.php',
'api/Video/ToggleBorrowById' => 'app/Controllers/ToggleVideoBorrowByIdController.php',
'api/Customer/UpdateById' => 'app/Controllers/UpdateCustomerByIdController.php',
'BorrowList' => 'app/Controllers/BorrowListController.php',
'CreateVideo' => 'app/Controllers/CreateVideoController.php',
'VideoList' => 'app/Controllers/VideoListController.php',
'CreateCustomer' => 'app/Controllers/CreateCustomerController.php',
'CustomerList' => 'app/Controllers/CustomerListController.php',
'api/GetDate' => 'app/Controllers/GetDateController.php',
'api/Video/UpdateById' => 'app/Controllers/UpdateVideoByIdController.php'
]);