Base admin

This commit is contained in:
2020-05-27 17:49:12 -04:00
parent 079ccdf0b9
commit 6744b8aa90

View File

@ -1,4 +1,6 @@
<?php
use ProVM\KI\Common\Controller\Web\Admin\Home;
$app->group('/admin', function($app) {
$folder = implode(DIRECTORY_SEPARATOR, [
__DIR__,
@ -13,4 +15,5 @@ $app->group('/admin', function($app) {
include_once $file->getRealPath();
}
}
$app->get('[/]', Home::class);
});