Closed lucasgiovanny closed 1 year ago
Currently, if you define a custom Resource on filament-fabricator.php, this resource is not considered on the plugin Create, Edit, List, and View pages.
filament-fabricator.php
Create
Edit
List
View
'page-resource' => \App\Models\PageResource::class,
This PR fixes this matter, adding the method below on every page:
public static function getResource(): string { return config('filament-fabricator.page-resource') ?? static::$resource; }
Thanks
Currently, if you define a custom Resource on
filament-fabricator.php
, this resource is not considered on the pluginCreate
,Edit
,List
, andView
pages.This PR fixes this matter, adding the method below on every page: