From 5e94965065301e7f2d33d4fbc76a8c15ddce13fa Mon Sep 17 00:00:00 2001 From: Meisterlala <6453306+Meisterlala@users.noreply.github.com> Date: Sun, 22 Sep 2024 16:22:09 +0200 Subject: [PATCH] changed for the index --- www/notes/routes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/notes/routes.php b/www/notes/routes.php index 1e7c0ae..67c91d6 100644 --- a/www/notes/routes.php +++ b/www/notes/routes.php @@ -2,8 +2,9 @@ $router->get('/', 'controllers/index.php'); +$router->get('/index.php', 'controllers/index.php'); $router->get('/note', 'controllers/note.php'); -$router->delete('/note', 'controllers/destroy.php'); +$router->delete('/note', 'controllers/destroy.php'); $router->patch('/note', 'controllers/update.php'); $router->post('/note', 'controllers/store.php'); $router->get('/edit', 'controllers/edit.php'); -- 2.51.2