Implemented FOS bundle

This commit is contained in:
Kevin Frantz
2018-09-13 02:24:25 +02:00
parent 777b4aee61
commit 629ed13c51
46 changed files with 451 additions and 202 deletions

View File

@@ -63,7 +63,7 @@ class UserMenuSubscriber implements EventSubscriberInterface
]);
} else {
$dropdown->addChild('login', [
'route' => 'login',
'route' => 'fos_user_security_login',
'attributes' => [
'divider_append' => true,
'icon' => 'fas fa-sign-in-alt'
@@ -71,7 +71,7 @@ class UserMenuSubscriber implements EventSubscriberInterface
]);
}
$dropdown->addChild('register', [
'route' => 'user_register',
'route' => 'fos_user_registration_register',
'attributes' => [
'icon' => 'fas fa-file-signature'
]