feat: param de la page d'accueil
This commit is contained in:
@@ -8,11 +8,9 @@ use Symfony\Component\Routing\Attribute\Route;
|
||||
|
||||
class HomeController extends AbstractController
|
||||
{
|
||||
#[Route('/hello', name: 'app_home', methods: ['GET'])]
|
||||
public function hello(): Response
|
||||
{
|
||||
return $this->render('home/hello.html.twig', [
|
||||
'name' => 'Melvin'
|
||||
]);
|
||||
}
|
||||
#[Route(path: '/', name: 'app_home', methods: ['GET'])]
|
||||
public function home(): Response
|
||||
{
|
||||
return $this->render('home/home.html.twig');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user