05-15-2017, 03:18 AM
(05-14-2017, 04:48 AM)mt19 Wrote: In my application I have 13 controllers, then my router would be something like 50 lines long.
It is possible that I am loosing some special functions through.
PS, I love the new routing in CI4, great work!
It doesn't sounds logical a framework to follow some personal needs (in that case yours).
You can make grouping to your routes and with that to make it more clear or to use resources routes or to extend the router by yourself.
Those are helpful features ..
Further if you have some specific logic of your routes in your mind you can follow the "resource" idea and to extend the Router with adding another method as resource() where you can register the group of routes which you have multiple times at your controllers...
Best VPS Hosting : Digital Ocean