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` : '' } `;