|
|
@@ -7,6 +7,7 @@ use App\Entity\Merchant\Merchant; |
|
|
|
use App\Entity\Section\Section; |
|
|
|
use App\Entity\Site\Page; |
|
|
|
use App\Entity\User\User; |
|
|
|
use App\Entity\User\UserMerchant; |
|
|
|
use EasyCorp\Bundle\EasyAdminBundle\Config\MenuItem; |
|
|
|
use Lc\CaracoleBundle\Controller\Dashboard\DashboardAdminController as CaracDashboardController; |
|
|
|
use Symfony\Component\HttpFoundation\Response; |
|
|
@@ -22,6 +23,7 @@ class DashboardAdminController extends CaracDashboardController |
|
|
|
yield MenuItem::subMenu('user', 'user')->setSubItems( |
|
|
|
[ |
|
|
|
MenuItem::linkToCrud('user_index', '', User::class), |
|
|
|
MenuItem::linkToCrud('user_merchant_index', '', UserMerchant::class), |
|
|
|
] |
|
|
|
); |
|
|
|
|