Skip to content

Commit

Permalink
found better solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Stebe committed Jan 8, 2016
1 parent e377e85 commit ee4b225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public static function getMenuItems($rootName)

$itemTemplate = [
'label' => ($page->icon) ? '<i class="' . $page->icon . '"></i> ' . $page->name : $page->name,
'url' => ($page->createUrl()) ? $page->createUrl() : '',
'url' => $page->createUrl(),
'linkOptions' => $pageOptions,
];
$item = $itemTemplate;
Expand Down

0 comments on commit ee4b225

Please sign in to comment.