Add new version in repository
This commit is contained in:
@@ -53,7 +53,6 @@ class Builder extends LavaryMenuBuilder
|
||||
if ($currentUser && $currentUser->ability($ability, $permission)) {
|
||||
$this->items->push($item);
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->items->push($item);
|
||||
}
|
||||
@@ -64,8 +63,8 @@ class Builder extends LavaryMenuBuilder
|
||||
/**
|
||||
* Add an item to a existing menu item as a submenu item.
|
||||
*
|
||||
* @param $id Id of the menu item to attach to
|
||||
* @param $title Title of the sub item
|
||||
* @param $id Id of the menu item to attach to
|
||||
* @param $title Title of the sub item
|
||||
* @param string $options
|
||||
*
|
||||
* @return Lavary\Menu\Item
|
||||
|
||||
Reference in New Issue
Block a user