From 0cacf7144dfb55c6a785144d6247e2f3f08f3340 Mon Sep 17 00:00:00 2001 From: tracer Date: Thu, 3 Nov 2022 18:54:06 +0100 Subject: [PATCH] fixed avatar path --- src/Controller/Admin/DashboardController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/Admin/DashboardController.php b/src/Controller/Admin/DashboardController.php index 2f00865..b50af3f 100644 --- a/src/Controller/Admin/DashboardController.php +++ b/src/Controller/Admin/DashboardController.php @@ -52,7 +52,7 @@ class DashboardController extends AbstractDashboardController } return parent::configureUserMenu(user: $user) - ->setAvatarUrl(url: 'build/images/'.$user->getAvatar()); + ->setAvatarUrl(url: 'uploads/avatars/' . $user->getAvatar()); } public function configureActions(): Actions