Commit b3f9aa8a authored by Адлан Шамавов's avatar Адлан Шамавов
Browse files

refactoring

parent 68f8659a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -115,8 +115,8 @@ class HomeController extends AbstractController
        return $response;
    }

    #[Route('/{fileName}', name: 'home')]
    public function home(string $fileName): Response // text.txt
    #[Route('/func9/{fileName}', name: 'func9')]
    public function func9(string $fileName): Response // text.txt
    {
        $filePath = $this->getParameter('kernel.project_dir') . "/public/files/" . $fileName;
        $text = "";