瀏覽代碼

DashboardAdminController : add ControllerTrait

feature/symfony6.1
Guillaume 3 年之前
父節點
當前提交
8fe4f2e8a2
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. +3
    -0
      Controller/Dashboard/DashboardAdminController.php

+ 3
- 0
Controller/Dashboard/DashboardAdminController.php 查看文件

@@ -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…
取消
儲存