<?php
namespace 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;
/**
* @IsGranted("IS_AUTHENTICATED_FULLY")
*/
class DashboardController extends AbstractController
{
/**
* @Route("/", name="home")
*/
public function index(): Response
{
return $this->render('dashboard/dashboard.html.twig');
}
/**
* @Route("/dashboard", name="dashboard")
*/
public function dashboard(): Response
{
return $this->render('dashboard/dashboard.html.twig');
}
}