blob: f24f0c0df865f3bf566f89f5e1c837d07fa14aaa (
plain) (
blame)
1
2
3
4
5
6
7
|
<?php
$router->get('/users', 'UserController@getAll');
$router->get('/users/{id}', 'UserController@getById');
$router->post('/users', 'UserController@create');
$router->put('/users/{id}', 'UserController@update');
$router->delete('/users/{id}', 'UserController@delete');
|