diff --git a/app/Models/User.php b/app/Models/User.php index a0f87c8c..b68afbfe 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -28,7 +28,7 @@ class User extends Authenticatable ]; // Accessors - public function getAvatarAttribute($avatar) + public function getAvatarPathAttribute($avatar) { return $avatar ? '/storage/avatars/' . $avatar : 'https://via.placeholder.com/250'; } diff --git a/resources/views/activities/index.blade.php b/resources/views/activities/index.blade.php index 0b5b13b1..9ab1bd98 100644 --- a/resources/views/activities/index.blade.php +++ b/resources/views/activities/index.blade.php @@ -10,7 +10,7 @@