src/Controller/DashboardController.php line 19
<?phpnamespace App\Controller;use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\Routing\Annotation\Route;#[Route('/')]#[IsGranted('ROLE_USER')]class DashboardController extends AbstractController{#[Route('/',name: 'app_index',methods: ['GET'])]public function index(): Response{return $this->render('index.html.twig');}#[Route('/parametres',name: 'app_parameters_index',methods: ['GET'])]public function parameters(): Response{return $this->render('parameters.html.twig');}}