Skip to content
Snippets Groups Projects
Commit ecb2ff0f authored by Адлан Шамавов's avatar Адлан Шамавов
Browse files

refactoring

parent 1c2f2d02
No related branches found
No related tags found
1 merge request!6Ptps controller 6
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment