Skip to content

Commit

Permalink
udpate all resources to reflect config
Browse files Browse the repository at this point in the history
  • Loading branch information
Skullbock authored Jan 22, 2025
1 parent c913b53 commit df3768f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/Resources/EventResource/Pages/ListEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@

class ListEvents extends ListRecords
{
protected static string $resource = EventResource::class;
public static function getResource(): string
{
return config('filament-mails.resources.mail', EventResource::class);
}

public function getTitle(): string
{
Expand Down
5 changes: 4 additions & 1 deletion src/Resources/EventResource/Pages/ViewEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@

class ViewEvent extends ViewRecord
{
protected static string $resource = EventResource::class;
public static function getResource(): string
{
return config('filament-mails.resources.mail', EventResource::class);
}
}
5 changes: 4 additions & 1 deletion src/Resources/MailResource/Pages/ViewMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@

class ViewMail extends ViewRecord
{
protected static string $resource = MailResource::class;
public static function getResource(): string
{
return config('filament-mails.resources.mail', MailResource::class);
}
}

0 comments on commit df3768f

Please sign in to comment.