13 lines
401 B
PHP
13 lines
401 B
PHP
<?php
|
|
use Incoviba\Controller\API\Proyectos\Brokers;
|
|
|
|
$app->group('/brokers', function($app) {
|
|
$app->post('/add[/]', Brokers::class . ':add');
|
|
$app->post('/edit[/]', Brokers::class . ':edit');
|
|
$app->get('[/]', Brokers::class);
|
|
});
|
|
$app->group('/broker/{broker_rut}', function($app) {
|
|
$app->delete('[/]', Brokers::class . ':delete');
|
|
$app->get('[/]', Brokers::class . ':show');
|
|
});
|