Skip to content

Commit

Permalink
#1 : set current uri in root menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouzekri committed Jul 8, 2014
1 parent f7ca3e8 commit 53956eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Menu/MenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public function createMenu(Request $request, $type)

// Create menu root item
$menu = $this->factory->createItem($type);
$menu->setCurrentUri($request->getUri());

// Sort first level of items
$this->sortItems($this->configuration[$type]['tree']);
Expand Down

0 comments on commit 53956eb

Please sign in to comment.