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

refactoring

parent 68f8659a
No related branches found
No related tags found
1 merge request!9Ptps controller 9
......@@ -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 = "";
......
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