Skip to content

Commit

Permalink
making it possible to overload the default class for the ul
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jul 8, 2013
1 parent 12f1be3 commit 8333f30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/Menus/View/Helper/MenuHelper.php
Expand Up @@ -166,11 +166,11 @@ protected function _dashboardLink($name, $info) {
));
}

public function bootstrapNav($menus, $ulOptions = array(), $child = false) {
public function bootstrapNav($menus, array $ulOptions = array(), $child = false) {
foreach ($menus as &$menu) {
$ulOptions = array(
$ulOptions = array_merge(array(
'class' => 'nav'
);
), $ulOptions);
$linkOptions = array(
'escape' => false
);
Expand Down

0 comments on commit 8333f30

Please sign in to comment.