chagne route params
This commit is contained in:
parent
e9bdcfe82e
commit
3eae748fff
@ -8,11 +8,9 @@ use Symfony\Component\Routing\Attribute\Route;
|
|||||||
|
|
||||||
final class HomeController extends AbstractController
|
final class HomeController extends AbstractController
|
||||||
{
|
{
|
||||||
#[Route('/', name: 'app_home')]
|
#[Route(path: '/', name: 'app_home', methods: ['GET'])]
|
||||||
public function index(): Response
|
public function index(): Response
|
||||||
{
|
{
|
||||||
return $this->render('home/index.html.twig', [
|
return $this->render('home/index.html.twig');
|
||||||
'controller_name' => 'HomeController',
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user