17 lines
417 B
PHP
17 lines
417 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Controller;
|
||
|
|
||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
use Symfony\Component\Routing\Attribute\Route;
|
||
|
|
||
|
final class HomeController extends AbstractController
|
||
|
{
|
||
|
#[Route(path: '/', name: 'app_home', methods: ['GET'])]
|
||
|
public function index(): Response
|
||
|
{
|
||
|
return $this->render('home/index.html.twig');
|
||
|
}
|
||
|
}
|