From c58b03aa4e4b6f43b7b751d38fd025741ebf1085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Bos?= <50821011+rene-bos@users.noreply.github.com> Date: Thu, 13 Jan 2022 15:08:23 +0100 Subject: [PATCH] Revert "Add new endpoint with name (#11)" This reverts commit 3689cc6d8a8fbcafa6b1e13ac2a79da07c8dae29. --- src/Controller/HelloWorldController.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Controller/HelloWorldController.php b/src/Controller/HelloWorldController.php index 64f594f..4bcca8a 100644 --- a/src/Controller/HelloWorldController.php +++ b/src/Controller/HelloWorldController.php @@ -16,15 +16,4 @@ public function helloWorld(): Response 'Hello, world!' ); } - - #[Route('/hello/{name}')] - public function helloName(string $name): Response - { - return new Response( - sprintf( - 'Hello, %s', - $name - ) - ); - } }