Se avanza en la pagina de inicio, falta los indicadores
This commit is contained in:
@ -15,4 +15,5 @@ if (file_exists($folder)) {
|
||||
}
|
||||
}
|
||||
|
||||
$app->get('/', Base::class);
|
||||
$app->get('/', Base::class)
|
||||
->add(new ProVM\KI\Common\Middleware\Visits($app->getContainer()->get('file.visits'), $app->getContainer()->get('visits.time')));
|
||||
|
4
resources/routes/web/indicadores.php
Normal file
4
resources/routes/web/indicadores.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
use ProVM\KI\Common\Controller\Web\Indicadores;
|
||||
|
||||
$app->get('/indicador/{indicador}', [Indicadores::class, 'get']);
|
9
resources/routes/web/proyectos.php
Normal file
9
resources/routes/web/proyectos.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
use ProVM\KI\Common\Controller\Web\Proyectos;
|
||||
|
||||
$app->group('/proyectos', function($app) {
|
||||
$app->get('/destacados/{page}', [Proyectos::class, 'destacados']);
|
||||
});
|
||||
$app->group('/proyecto/{proyecto}', function($app) {
|
||||
$app->get('/ficha', [Proyectos::class, 'ficha']);
|
||||
});
|
Reference in New Issue
Block a user