16 lines
451 B
PHP
16 lines
451 B
PHP
|
<?php
|
||
|
namespace App\Controller;
|
||
|
|
||
|
use Symfony\Component\HttpFoundation\Request;
|
||
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
use Symfony\Component\Routing\Annotation\Route;
|
||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||
|
|
||
|
class FrontController extends AbstractController
|
||
|
{
|
||
|
#[Route("/", name: "app_front")]
|
||
|
public function index(Request $request): Response
|
||
|
{
|
||
|
return $this->render('front/index.html.twig');
|
||
|
}
|
||
|
}
|