You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to apply a plugin to all routes under /post, like
/post
/post/:id
Where should I put the middleware?
The text was updated successfully, but these errors were encountered:
TheOrdinaryWow
changed the title
How to apply plugin to multiple routes under a route
How to apply plugin to sub-routes under a group route
Nov 5, 2024
For example, I have
I want to apply a plugin to all routes under
/post
, like/post
/post/:id
Where should I put the middleware?
The text was updated successfully, but these errors were encountered: