Controller Filters - Input needed |
Good work!
One question though, and I'm not sure this directly relates to just my application of CI but I declare all my routes in my routes.php file and have 650~ routes in my application. About 600 of those routes require authentication and I'd be putting an AuthFilter in front of them. Would that mean that I would have to rewrite all 600 routes in the Filters.php file? And if a route changes, I would have to change it in both locations?
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
|
Welcome Guest, Not a member yet? Register Sign In |