<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
/**
* @Route("/")
*/
class BackController extends AbstractController
{
/**
* @Route("/", name="accueil_back", methods={"GET"})
* @Security("is_granted('ROLE_USER')")
*/
public function accueil(): Response
{
return $this->render('back/accueil.html.twig', [
]);
}
}