Backend coins and update
This commit is contained in:
@ -9,5 +9,11 @@ $app->group('/coins', function($app) {
|
||||
$app->group('/coin/{coin_id}', function($app) {
|
||||
$app->put('/edit', [Coins::class, 'edit']);
|
||||
$app->delete('/delete', [Coins::class, 'delete']);
|
||||
$app->group('/values', function($app) {
|
||||
$app->get('/month', [Coins::class, 'valuesMonth']);
|
||||
$app->get('/months', [Coins::class, 'valuesSixMonths']);
|
||||
$app->get('/year', [Coins::class, 'valuesYear']);
|
||||
$app->get('[/]', [Coins::class, 'values']);
|
||||
});
|
||||
$app->get('[/]', [Coins::class, 'show']);
|
||||
});
|
||||
|
Reference in New Issue
Block a user