We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94bd996 commit 1ad1844Copy full SHA for 1ad1844
src/EventListener/AdminRouterSubscriber.php
@@ -253,7 +253,7 @@ public function onKernelController(ControllerEvent $event): void
253
*/
254
private function getDashboardControllerFqcn(Request $request): ?string
255
{
256
- $controller = $request->attributes->get('_controller');
+ $controller = $request->attributes->get(EA::DASHBOARD_CONTROLLER_FQCN) ?: $request->attributes->get('_controller');
257
$controllerFqcn = null;
258
259
if (\is_string($controller)) {
0 commit comments