Skip to content

Commit

Permalink
Merge pull request #43 from jaugustin/fix-menu-single-entry-bt2.0
Browse files Browse the repository at this point in the history
this fix the menu for single entry brooken since BT2.0 introduce by #24
  • Loading branch information
cedriclombardot committed Apr 30, 2012
2 parents 326e865 + c0a457c commit 9176264
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/sfTwitterBootstrap/templates/_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@
<?php endif; ?>
<?php endif; ?>

<a data-toggle="dropdown" href="<?php echo url_for($category['url']); ?>" class="<?php echo $class; ?>">
<a href="<?php echo url_for($category['url']); ?>" class="<?php echo $class; ?>">
<?php echo __(isset($category['name']) ? $category['name'] : $name) ?>
<b class="caret"></b>
</a>

<?php else: ?>
Expand Down

0 comments on commit 9176264

Please sign in to comment.