Ventas->Listado->Ventas
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
<?php
|
||||
use Incoviba\Controller\Ventas;
|
||||
|
||||
$app->group('/ventas', function($app) {
|
||||
$files = new FilesystemIterator(implode(DIRECTORY_SEPARATOR, [__DIR__, 'ventas']));
|
||||
foreach ($files as $file) {
|
||||
@ -7,4 +9,5 @@ $app->group('/ventas', function($app) {
|
||||
}
|
||||
include_once $file->getRealPath();
|
||||
}
|
||||
$app->get('[/]', Ventas::class);
|
||||
});
|
||||
|
Reference in New Issue
Block a user