second
This commit is contained in:
16
src/Controller/FrontController.php
Normal file
16
src/Controller/FrontController.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user