getAuthor(); return Storage::url($author->profile_photo_path); } public function getAuthor() { return $this->author->first(); } }