Question: How to add Route Groups?
ishanvyas22 opened this issue · 0 comments
ishanvyas22 commented
I see this project uses nikic/FastRoute
, it's not documented on how we can define route groups? Route groups are often used when there are multiple areas(i.e. /admin
, /editor
, etc.) and developers want to group assign routes to a particular prefix route.
This is already supported by the nikic/FastRoute
package as Route Groups, therefore I was wondering on how to achieve this using Framework-X. I tried using addGroup
but it doesn't seem to work ATM.