CodeIgniter Forums

Full Version: Controller Filters - Input needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
As for now and my assumption, the filter is applied to routes.
CI3 routes aren't required. In this case, are CI4 routes consistently required?
No, I think it would be ideal to do it in the routes but CI4 doesn't require coding the routes so the council has been forced to so attach filters in a separate file.
Cool! Thanks.
(07-13-2016, 03:20 PM)albertleao Wrote: [ -> ]No, I think it would be ideal to do it in the routes but CI4 doesn't require coding the routes so the council has been forced to so attach filters in a separate file.
I mean filter is based on routes path.
For those following along at home, this is now implemented and in the develop branch. Docs can be found in the repo.
-thumbs up-
Pages: 1 2 3 4