18 lines
485 B
PHP
18 lines
485 B
PHP
<?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\Authentication\AuthenticationUtils;
|
|
|
|
class DashboardController extends AbstractController
|
|
{
|
|
#[Route(path: '/dashboard', name: 'dashboard')]
|
|
public function index(): Response
|
|
{
|
|
return $this->render('dashboard/index.html.twig');
|
|
}
|
|
|
|
} |