From a35ae03b7e1457d5242c35044f86a785cb5f889e Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Wed, 12 Sep 2018 19:59:55 +0200 Subject: [PATCH] Added correct logout route --- application/src/Subscriber/UserMenuSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/Subscriber/UserMenuSubscriber.php b/application/src/Subscriber/UserMenuSubscriber.php index b327145..c3d6621 100644 --- a/application/src/Subscriber/UserMenuSubscriber.php +++ b/application/src/Subscriber/UserMenuSubscriber.php @@ -73,7 +73,7 @@ class UserMenuSubscriber implements EventSubscriberInterface $dropdown->addChild( 'logout', [ - 'route' => 'user_logout', + 'route' => 'logout', 'attributes' => [ 'icon' => 'fas fa-sign-out-alt', ],