app/library/Navigation/Node.php: minor change.
This commit is contained in:
parent
cc08ca1658
commit
ca27834a56
1 changed files with 2 additions and 2 deletions
|
|
@ -183,11 +183,11 @@ class Node extends Container
|
||||||
// Assemble route if set.
|
// Assemble route if set.
|
||||||
if (strlen($this->getRoute()) > 0) {
|
if (strlen($this->getRoute()) > 0) {
|
||||||
|
|
||||||
$href = array(
|
$href = [
|
||||||
'for' => $this->getRoute(),
|
'for' => $this->getRoute(),
|
||||||
'controller' => $this->getController(),
|
'controller' => $this->getController(),
|
||||||
'action' => $this->getAction()
|
'action' => $this->getAction()
|
||||||
);
|
];
|
||||||
}
|
}
|
||||||
// Otherwise, use default route.
|
// Otherwise, use default route.
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Reference in a new issue