Skip to content

Commit

Permalink
Merge pull request #44 from marcogermani87/patch-1
Browse files Browse the repository at this point in the history
Autoload custom Resource from config
  • Loading branch information
RickDBCN authored Apr 16, 2024
2 parents f14b339 + 0c62d08 commit ec1c88d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Filament/Resources/EmailResource/Pages/ListEmails.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@

class ListEmails extends ListRecords
{
protected static string $resource = EmailResource::class;
public static function getResource(): string
{
return config('filament-email.resource.class', EmailResource::class);
}
}

0 comments on commit ec1c88d

Please sign in to comment.