浏览代码

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

正在加载...
取消
保存