API 1.0.0
This commit is contained in:
@ -7,5 +7,11 @@ $app->group('/currencies', function($app) {
|
||||
});
|
||||
|
||||
$app->group('/currency/{currency_id}', function($app) {
|
||||
$app->get('[/]', [Currencies::class, 'show']);
|
||||
$app->put('/edit[/]', [Currencies::class, 'edit']);
|
||||
$app->delete('/delete[/]', [Currencies::class, 'delete']);
|
||||
$app->group('/values', function($app) {
|
||||
$app->post('/add[/]', [Currencies::class, 'addValues']);
|
||||
$app->get('[/]', [Currencies::class, 'getValues']);
|
||||
});
|
||||
$app->get('[/]', [Currencies::class, 'get']);
|
||||
});
|
||||
|
Reference in New Issue
Block a user