From 8bc252ba4d243bbb2f642e34bf2121bbd74c1421 Mon Sep 17 00:00:00 2001 From: tracer Date: Wed, 26 Oct 2022 11:16:20 +0200 Subject: [PATCH] finished things up --- public/index.php | 4 ---- 1 file changed, 4 deletions(-) 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(); });