Ajoute une navbar

This commit is contained in:
2022-11-30 10:57:29 +01:00
parent 2c8e49e560
commit 3ef74ce29f
5 changed files with 36 additions and 15 deletions

View File

@@ -16,4 +16,4 @@ $router->get('/^recent\/(?<page>\d+)$/', [$user, 'index']);
$router->get('/^news\/(?<id>\d+)$/', [$user, 'viewPost']);
$router->get('/^comments\/(?<id>[\w-]+)$/', [$user, 'viewPostComments']);
$router->match('/^login$/', [$security, 'login']);
$router->run(new \Silex\DI\DI($router))->render(__DIR__ . '/../' . VIEW_PATH);
$router->run(new \Silex\DI\DI($router))->render($router, __DIR__ . '/../' . VIEW_PATH);