Files
e-ticket/src/Controller/AccountController.php

19 lines
489 B
PHP
Raw Normal View History

<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
use Symfony\Component\Security\Http\Attribute\IsGranted;
#[IsGranted('ROLE_USER')]
class AccountController extends AbstractController
{
#[Route('/mon-compte', name: 'app_account')]
public function index(): Response
{
return $this->render('account/index.html.twig');
}
}