Skip to content

Commit 840bae1

Browse files
committed
added correct registration of routes using callable
1 parent abecf8f commit 840bae1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ use Vormkracht10\FilamentMails\Facades\FilamentMails;
6969
public function panel(Panel $panel): Panel
7070
{
7171
return $panel
72-
->routes(FilamentMails::routes());
72+
->routes(fn () => FilamentMails::routes());
7373
}
7474
```
7575

0 commit comments

Comments
 (0)