Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk authored Feb 7, 2025
1 parent bdb6b89 commit 4db7405
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,11 @@ use Vormkracht10\FilamentMails\Facades\FilamentMails;
// Basic usage - uses default Filament panel path and name
FilamentMails::routes();

// Custom path and name
FilamentMails::routes('custom-path', 'custom.name');

// Or set path and name separately
FilamentMails::setPath('custom-path');
FilamentMails::setName('custom.name');
FilamentMails::routes();
// Prefix routes with path and/or name
FilamentMails::routes(
path: 'custom-path',
name: 'custom.name'
);
```

> [!NOTE]
Expand Down

0 comments on commit 4db7405

Please sign in to comment.