Open happyDemon opened 7 years ago
It would be nice to be to defined route groups, each group would get exported to a different file.
I'd personally find it handy since it wouldn't expose urls i use in the admin to the general users.
Config Add a groups array, the keys in that array would be the group names, while the value would map to the filename/location
Route definition
Map default group:
'laroute' => true
Map to a defined group:
'laroute' =>'groupName'
Doing it this way would be backwards-compatible.
If you need help implementing this I'm willing to submit a PR
https://github.com/aaronlord/laroute/pull/66
@ctf0 why are you referencing your pull request? This issue isn't about ignoring routes, but grouping them
sorry, thought u wanted to ignore routes by group, my bad
It would be nice to be to defined route groups, each group would get exported to a different file.
I'd personally find it handy since it wouldn't expose urls i use in the admin to the general users.
Config Add a groups array, the keys in that array would be the group names, while the value would map to the filename/location
Route definition
Map default group:
Map to a defined group:
Doing it this way would be backwards-compatible.
If you need help implementing this I'm willing to submit a PR