CodeIgniter Forums
Controller Filters - Input needed - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: Controller Filters - Input needed (/showthread.php?tid=65660)

Pages: 1 2 3 4


RE: Controller Filters - Input needed - arma7x - 07-13-2016

As for now and my assumption, the filter is applied to routes.


RE: Controller Filters - Input needed - prezire - 07-13-2016

CI3 routes aren't required. In this case, are CI4 routes consistently required?


RE: Controller Filters - Input needed - albertleao - 07-13-2016

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.


RE: Controller Filters - Input needed - prezire - 07-13-2016

Cool! Thanks.


RE: Controller Filters - Input needed - arma7x - 07-14-2016

(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.


RE: Controller Filters - Input needed - kilishan - 07-18-2016

For those following along at home, this is now implemented and in the develop branch. Docs can be found in the repo.


RE: Controller Filters - Input needed - albertleao - 07-19-2016

-thumbs up-