change model for accident
This commit is contained in:
@@ -134,7 +134,7 @@ class Accident extends Model
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function depositIdaghiImage(): Attribute
|
protected function depositDaghiImage(): Attribute
|
||||||
{
|
{
|
||||||
return Attribute::make(
|
return Attribute::make(
|
||||||
get: fn($value) => $value == null ? null : Storage::disk('public')->url($value)
|
get: fn($value) => $value == null ? null : Storage::disk('public')->url($value)
|
||||||
|
|||||||
Reference in New Issue
Block a user