12 lines
303 B
PHP
12 lines
303 B
PHP
|
<?php
|
||
|
use ProVM\Money\Common\Controller\Currencies;
|
||
|
|
||
|
$app->group('/currencies', function($app) {
|
||
|
$app->post('/add[/]', [Currencies::class, 'add']);
|
||
|
$app->get('[/]', Currencies::class);
|
||
|
});
|
||
|
|
||
|
$app->group('/currency/{currency_id}', function($app) {
|
||
|
$app->get('[/]', [Currencies::class, 'show']);
|
||
|
});
|