storage url o'zgartirildi
This commit is contained in:
@@ -52,11 +52,7 @@ class Partner extends Model
|
||||
public function getImage(): string
|
||||
{
|
||||
if (!empty($this->image)) {
|
||||
if (in_array(env('FILESYSTEM_DISK'), ['s3', 'minio'])) {
|
||||
return Storage::url($this->image);
|
||||
}
|
||||
|
||||
return (string) $this->image;
|
||||
return Storage::url($this->image);
|
||||
}
|
||||
|
||||
return (string) 'images/no_brend.png';
|
||||
|
||||
Reference in New Issue
Block a user