finished things up
This commit is contained in:
parent
78f25fdfd3
commit
8bc252ba4d
|
@ -28,10 +28,6 @@ $security = $container->get(className: SecurityController::class);
|
||||||
$addressBook = $container->get(className: AddressBookController::class);
|
$addressBook = $container->get(className: AddressBookController::class);
|
||||||
$addressBookAdmin = $container->get(className: AddressBookAdminController::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) {
|
$router->addRoute(name: 'app_login', route: '/login', callback: function () use ($security) {
|
||||||
$security->login();
|
$security->login();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue