Skip to content

Commit

Permalink
#1 : use getRequestUri to set current uri in menu builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan BOUZEKRI committed Jul 9, 2014
1 parent 53956eb commit 45673d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Menu/MenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function createMenu(Request $request, $type)

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

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

0 comments on commit 45673d5

Please sign in to comment.