src/Controller/DashboardController.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Request;
  5. use Symfony\Component\HttpFoundation\Response;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. class DashboardController extends AbstractController
  8. {
  9.     /**
  10.      * @Route("/dashboard", name="dashboard")
  11.      */
  12.     public function index(Request $request): Response
  13.     {
  14.         return $this->render(
  15.             'dashboard/index.html.twig',
  16.             [
  17.                 'menu' => 'dashboard_index',
  18.             ]
  19.         );
  20.     }
  21. }