Apply filter for all functions inside a controller |
(08-17-2020, 04:25 AM)eleumas Wrote: Hi! I created a filter for auth but i would like apply this filter for all methods inside the controller. Check Grouping Routes in the CodeIgniter 4 documentation here: https://codeigniter.com/user_guide/incom...ing-routes. Apply your filter to the group. |
Messages In This Thread |
Apply filter for all functions inside a controller - by eleumas - 08-17-2020, 04:25 AM
RE: Apply filter for all functions inside a controller - by mlurie - 08-19-2020, 12:08 PM
RE: Apply filter for all functions inside a controller - by eleumas - 08-20-2020, 02:18 AM
RE: Apply filter for all functions inside a controller - by mlurie - 08-20-2020, 07:14 AM
|