Merge branch 'feature/login' of https://gitea.btssio-poitiers.fr/astiery/HegreLand into feature/login
This commit is contained in:
commit
adbfe09f01
@ -5,13 +5,14 @@ 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\Authentication\AuthenticationUtils;
|
||||
|
||||
#[Route('/dashboard', name: 'DashboardController')]
|
||||
class DashboardController extends AbstractController
|
||||
{
|
||||
#[Route('', name: '_index')]
|
||||
#[Route(path: '/dashboard', name: 'app_dashboard')]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('dashboard/index.html.twig');
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user