From d8aad041c47610ec73a3b9989b8aac73a85688db Mon Sep 17 00:00:00 2001 From: stevan Date: Thu, 24 Apr 2025 18:04:26 +0200 Subject: [PATCH] fix default avatar --- app/User.php | 2 +- resources/views/community.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/User.php b/app/User.php index 0a5ed3b4d..1f45713e1 100644 --- a/app/User.php +++ b/app/User.php @@ -335,7 +335,7 @@ public function stripExperience($points, $year = null) public function getAvatarPathAttribute($avatar) { if (is_null($avatar)) { - $avatar = 'avatars/default_avatar.png'; + $avatar = 'images/default-avatar.png'; } return Storage::disk('s3')->url($avatar); } diff --git a/resources/views/community.blade.php b/resources/views/community.blade.php index fa84db152..7c0db9460 100755 --- a/resources/views/community.blade.php +++ b/resources/views/community.blade.php @@ -635,7 +635,7 @@ function populateTeacherInfo(teachers, city = null) { ${ teacher.avatar_path - ? `Avatar` + ? `Avatar` : '' } `;