add a menu builder for user menu

This commit is contained in:
2018-05-14 14:14:02 +02:00
parent 6fc9fa9833
commit be7949809b
4 changed files with 49 additions and 7 deletions

View File

@@ -79,10 +79,4 @@ login_check:
path: /login_check
logout:
path: /logout
options:
menus:
user:
order: 10
label: Logout
icon: power-off
path: /logout

View File

@@ -18,6 +18,7 @@ class AppKernel extends Kernel
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new Symfony\Bundle\DebugBundle\DebugBundle()
);
}