Skip to content

Commit aa97f5d

Browse files
author
Thomas Jarrand
committed
Changed '_root' option to '_menu_root' for compatibility.
1 parent 54c4a94 commit aa97f5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Menu/Builder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ private function resolve(array $item, array $keys)
6565

6666
public function isCurrentRoot(?string $root): bool
6767
{
68-
return $this->getCurrentAttribute('_root') === $root;
68+
return $this->getCurrentAttribute('_menu_root') === $root;
6969
}
7070

7171
public function isCurrentBranch(?string $branch): bool
7272
{
73-
return $this->getCurrentAttribute('_branch') === $branch;
73+
return $this->getCurrentAttribute('_menu_branch') === $branch;
7474
}
7575

7676
public function isCurrentRoute(?string $route): bool

0 commit comments

Comments
 (0)