Bläddra i källkod

DashboardAdminController : add ControllerTrait

feature/symfony6.1
Guillaume 3 år sedan
förälder
incheckning
8fe4f2e8a2
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. +3
    -0
      Controller/Dashboard/DashboardAdminController.php

+ 3
- 0
Controller/Dashboard/DashboardAdminController.php Visa fil

@@ -8,6 +8,7 @@ use EasyCorp\Bundle\EasyAdminBundle\Config\Dashboard;
use EasyCorp\Bundle\EasyAdminBundle\Config\MenuItem;
use EasyCorp\Bundle\EasyAdminBundle\Config\UserMenu;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractDashboardController;
use Lc\SovBundle\Controller\ControllerTrait;
use Lc\SovBundle\Doctrine\EntityManager;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\HttpFoundation\Response;
@@ -16,6 +17,8 @@ use Symfony\Component\Routing\Annotation\Route;
class DashboardAdminController extends AbstractDashboardController
{

use ControllerTrait;

public function index(): Response
{
return $this->render('@LcSov/adminlte/dashboard.html.twig');

Laddar…
Avbryt
Spara