generated from liutk/owl-admin-base
admin agreement
parent
c80be8475e
commit
f99dede28c
|
|
@ -35,6 +35,7 @@ class WorkflowCheckResource extends JsonResource
|
|||
{
|
||||
$model = Relation::getMorphedModel($type);
|
||||
$class = match ($model) {
|
||||
'agreements' => AgreementResource::class,
|
||||
default => 'App\\Http\\Resources\\'.class_basename($model).'Resource',
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue