Welcome Guest, Not a member yet? Register   Sign In
Controller Filters - Input needed
#31

As for now and my assumption, the filter is applied to routes.
Keep calm.
Reply
#32

CI3 routes aren't required. In this case, are CI4 routes consistently required?
Long live CodeIgniter!
Reply
#33

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.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply
#34

Cool! Thanks.
Long live CodeIgniter!
Reply
#35

(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.
Keep calm.
Reply
#36

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

-thumbs up-
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB