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

Commit

Permalink
Merge pull request #234 from EmmanuelVella/patch-1
Browse files Browse the repository at this point in the history
Set the request in the parent admin when building breadcrumbs
  • Loading branch information
dbu committed Sep 28, 2015
2 parents 0de2f06 + fc57e08 commit eb056fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Admin/MenuNodeAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function buildBreadcrumbs($action, MenuItemInterface $menu = null)
}

$parentAdmin->setSubject($parentDoc);
$parentAdmin->setRequest($this->request);
$parentEditNode = $parentAdmin->buildBreadcrumbs($action, $menu);
if ($parentAdmin->isGranted('EDIT' && $parentAdmin->hasRoute('edit'))) {
$parentEditNode->setUri(
Expand Down

0 comments on commit eb056fc

Please sign in to comment.