Middleware and Filament
Apologies if this is in the documentation but I couldn't find it. How would I define middleware for Filament created Resources, etc? Normally I'd add something to web.php but not sure how to do it for the auto generated routes that Filament gives me.
cheers
Solution:Jump to solution
you can include custom middleware though in the ->middleware() method on your $panel.
3 Replies
Resource routes are handled by Policies
Solution
you can include custom middleware though in the ->middleware() method on your $panel.
Perfect - many thanks @awcodes