Skip to content

Commit ac1510b

Browse files
author
Mikaël Capelle
committed
Add new class to link.
1 parent 87722ae commit ac1510b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/View/Helper/BootstrapNavbarHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ public function beginMenu($name = null, $url = null, $options = [],
333333
];
334334
$caret = $linkOptions['caret'];
335335
unset($linkOptions['caret']);
336+
$linkOptions = $this->addClass($linkOptions, 'dropdown-toggle');
336337
$link = $this->Html->link($name.$caret, $url ? $url : '#', $linkOptions);
337338
$options = $this->addClass($options, 'dropdown');
338339
$listOptions = $this->addClass($listOptions, 'dropdown-menu');

0 commit comments

Comments
 (0)