Browse Source

DashboardAdminController : add ControllerTrait

feature/symfony6.1
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

use EasyCorp\Bundle\EasyAdminBundle\Config\MenuItem; use EasyCorp\Bundle\EasyAdminBundle\Config\MenuItem;
use EasyCorp\Bundle\EasyAdminBundle\Config\UserMenu; use EasyCorp\Bundle\EasyAdminBundle\Config\UserMenu;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractDashboardController; use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractDashboardController;
use Lc\SovBundle\Controller\ControllerTrait;
use Lc\SovBundle\Doctrine\EntityManager; use Lc\SovBundle\Doctrine\EntityManager;
use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
class DashboardAdminController extends AbstractDashboardController class DashboardAdminController extends AbstractDashboardController
{ {


use ControllerTrait;

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

Loading…
Cancel
Save