Welcome Guest, Not a member yet? Register   Sign In
How To Add Filter On Specified HTTP Method and Controller in Routes.php?
#4

(This post was last modified: 03-07-2021, 06:34 PM by simonickalexs.)

(03-06-2021, 08:53 AM)IvanBell Wrote: Shouldn't it be $routes instead of $rotues?

Ah I have typo inserted in the post, but in my code is $routes  Thank you

(03-06-2021, 08:35 AM)iRedds Wrote: I cannot reproduce.
Have you registered the user filter with the admin class?

Yes, and I'm using the 4.0.4 version, and I've found out they fixed it in the latest version https://github.com/codeigniter4/CodeIgni...ssues/3733. But the problem is, if I'm upgrade it, I will encounter with this issue "CI4 Generate Empty String On Query Binding Value On "FALSE" value (codeigniter.com)". This is a big dilemma and chicken and egg for me since I have no choice to upgrade and rewrite the whole code, my God.
Reply


Messages In This Thread
RE: How To Add Filter On Specified HTTP Method and Controller in Routes.php? - by simonickalexs - 03-07-2021, 06:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB