Files
This commit is contained in:
4
resources/routes/01_base.php
Normal file
4
resources/routes/01_base.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
use Incoviba\UI\Common\Controller\Base;
|
||||
|
||||
$app->get('[/]', Base::class);
|
10
resources/routes/02_auth.php
Normal file
10
resources/routes/02_auth.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
use Incoviba\UI\Common\Controller\Auth;
|
||||
|
||||
$app->group('/auth', function($app) {
|
||||
$app->group('/login', function ($app) {
|
||||
$app->get('[/]', [Auth::class, 'login']);
|
||||
$app->post('[/]', [Auth::class, 'doLogin']);
|
||||
});
|
||||
$app->get('/logout', [Auth::class, 'logout']);
|
||||
});
|
6
resources/routes/03_inmobiliarias.php
Normal file
6
resources/routes/03_inmobiliarias.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$app->group('/inmobiliarias', function ($app) {
|
||||
$app->get('[/]', function ($request, $response) {
|
||||
return $response;
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user