diff --git a/src/Filament/Resources/EmailResource/Pages/ViewEmail.php b/src/Filament/Resources/EmailResource/Pages/ViewEmail.php index f7c5810..ece89e2 100644 --- a/src/Filament/Resources/EmailResource/Pages/ViewEmail.php +++ b/src/Filament/Resources/EmailResource/Pages/ViewEmail.php @@ -7,5 +7,8 @@ class ViewEmail extends ViewRecord { - protected static string $resource = EmailResource::class; + public static function getResource(): string + { + return config('filament-email.resource.class', EmailResource::class); + } }