Route model binding fixes

This commit is contained in:
David Bomba 2023-02-04 07:41:25 +11:00
parent cfc4a49651
commit b45a4d8133

View File

@ -145,7 +145,7 @@ class VendorContact extends Authenticatable implements HasLocalePreference
{ {
return $this return $this
->withTrashed() ->withTrashed()
->company() // ->company()
->where('id', $this->decodePrimaryKey($value)) ->where('id', $this->decodePrimaryKey($value))
->firstOrFail(); ->firstOrFail();
} }