diff --git a/src/Controller/HomeController.php b/src/Controller/HomeController.php index 1056f823f7a31a9541938ee3cbd8aa0815367967..9ca27a987ae8c12cad3f29929bc969b8bea00c0c 100644 --- a/src/Controller/HomeController.php +++ b/src/Controller/HomeController.php @@ -73,8 +73,8 @@ class HomeController extends AbstractController return $this->json(["Days before NY:" => $result]); } - #[Route('/{year}', name: 'home', methods: ['GET'])] - public function home(int $year): Response + #[Route('/func6/{year}', name: 'func6', methods: ['GET'])] + public function func6(int $year): Response { $fridays = array(); try {