mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Substituted old menu trough KNP menu bundle
This commit is contained in:
@@ -30,7 +30,11 @@ class Menu
|
||||
|
||||
public function userTopbar(RequestStack $request): ItemInterface
|
||||
{
|
||||
$menu = $this->factory->createItem('root');
|
||||
$menu = $this->factory->createItem('root', array(
|
||||
'childrenAttributes' => array(
|
||||
'class' => 'navbar-nav mr-auto',
|
||||
),
|
||||
));
|
||||
|
||||
$this->dispatcher->dispatch(
|
||||
UserMenuEvent::EVENT,
|
||||
|
Reference in New Issue
Block a user