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
|
||||
{
|
||||
#[Route('/', name: 'app_home')]
|
||||
#[Route(path: '/', name: 'app_home', methods: ['GET'])]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('home/index.html.twig', [
|
||||
'controller_name' => 'HomeController',
|
||||
]);
|
||||
return $this->render('home/index.html.twig');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user