Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit eb056fc

Browse files
committed
Merge pull request #234 from EmmanuelVella/patch-1
Set the request in the parent admin when building breadcrumbs
2 parents 0de2f06 + fc57e08 commit eb056fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Admin/MenuNodeAdmin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function buildBreadcrumbs($action, MenuItemInterface $menu = null)
6060
}
6161

6262
$parentAdmin->setSubject($parentDoc);
63+
$parentAdmin->setRequest($this->request);
6364
$parentEditNode = $parentAdmin->buildBreadcrumbs($action, $menu);
6465
if ($parentAdmin->isGranted('EDIT' && $parentAdmin->hasRoute('edit'))) {
6566
$parentEditNode->setUri(

0 commit comments

Comments
 (0)