phiamo/MopaBootstrapBundle — pull request #695 by isometriks (2013-11-15 00:23:26+00:00)
Title: Removed unnecessary navbar code.

I'm not really sure what this extra code is even for. If you need to get certain parts of a menu you should use knp functions first:

{% set item = knp_menu_get(menu, ['Comment', 'My comments']) %}

And then render it:

{{ mopa_bootstrap_menu(item, {'automenu': true}) }}

We also don't need to fetch the menu unless we're sending it to the MenuConverter, the renderer will take care of that on its own.