diff --git a/public/index.php b/public/index.php index 48eea6d..b5e37b4 100644 --- a/public/index.php +++ b/public/index.php @@ -28,10 +28,6 @@ $security = $container->get(className: SecurityController::class); $addressBook = $container->get(className: AddressBookController::class); $addressBookAdmin = $container->get(className: AddressBookAdminController::class); - -// TODO maybe refactor route adding to the controllers? -// I currently think that makes sense. - $router->addRoute(name: 'app_login', route: '/login', callback: function () use ($security) { $security->login(); });