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');