Proyectos -> Productos

This commit is contained in:
2020-05-26 23:03:14 -04:00
parent 168fbbcb09
commit e27cd5c68d
9 changed files with 80 additions and 80 deletions

View File

@ -0,0 +1,12 @@
<?php
use ProVM\KI\Common\Controller\Web\Productos;
$app->group('/productos', function($app) {
$app->get('/segmento/{segmento}', [Productos::class, 'segmento']);
$app->get('/destacados/{page}', [Productos::class, 'destacados']);
$app->get('[/]', productos::class);
});
$app->group('/producto/{producto}', function($app) {
$app->get('/ficha', [Productos::class, 'ficha']);
$app->get('[/]', [Productos::class, 'show']);
});

View File

@ -1,12 +0,0 @@
<?php
use ProVM\KI\Common\Controller\Web\Proyectos;
$app->group('/proyectos', function($app) {
$app->get('/segmento/{segmento}', [Proyectos::class, 'segmento']);
$app->get('/destacados/{page}', [Proyectos::class, 'destacados']);
$app->get('[/]', Proyectos::class);
});
$app->group('/proyecto/{proyecto}', function($app) {
$app->get('/ficha', [Proyectos::class, 'ficha']);
$app->get('[/]', [Proyectos::class, 'show']);
});