add tests for files and refactor
This commit is contained in:
parent
b0cb0db558
commit
010282a7bb
6 changed files with 112 additions and 49 deletions
|
@ -43,7 +43,6 @@ $router->group(['prefix' => '1'], function () use ($router) {
|
|||
$router->get('file/{id}', ['uses' => 'FileController@showOneFile']);
|
||||
$router->post('file', ['uses' => 'FileController@create']);
|
||||
$router->delete('file/{id}', ['uses' => 'FileController@delete']);
|
||||
$router->put('file/{id}', ['uses' => 'FileController@update']);
|
||||
|
||||
// items
|
||||
$router->get('{event}/items', ['uses' => 'ItemController@showByEvent']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue