diff --git a/wave/src/Post.php b/wave/src/Post.php index 2f14aad2e..dbb9526a7 100644 --- a/wave/src/Post.php +++ b/wave/src/Post.php @@ -3,6 +3,7 @@ namespace Wave; use Illuminate\Database\Eloquent\Model; +use Illuminate\Support\Facades\Storage; class Post extends Model { @@ -17,7 +18,7 @@ public function user(){ } public function image(){ - return url($this->image); + return Storage::url($this->image); } public function category(){