Browse Source

DashboardAdminController : add ControllerTrait

develop
Guillaume 3 years ago
parent
commit
8fe4f2e8a2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Controller/Dashboard/DashboardAdminController.php

+ 3
- 0
Controller/Dashboard/DashboardAdminController.php View File

@@ -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');

Loading…
Cancel
Save