diff --git a/app/Controller/HelloWorldController.php b/app/Controller/HelloWorldController.php index 282a990..7f2af8b 100644 --- a/app/Controller/HelloWorldController.php +++ b/app/Controller/HelloWorldController.php @@ -32,7 +32,7 @@ class HelloWorldController public function routes(RouterConfig $config): ResponseInterface { $routes = implode('
', array_map( - fn($route) => $route->getRoute()->path, + fn($route) => sprintf('%s - %s->%s', $route->getRoute()->path, $route->getController(), $route->getMethod()), $config->getRoutes() ));