Welcome Guest, Not a member yet? Register   Sign In
route filters does not work
#1

Hi, i'm using CI 4.0.4 for my project, i'm working on permission check with routes and filter in it, but it seem to be not woking right. My code look like this:
- In App/Filter i declare an filter alias

[Image: ci-error.png]

- in my Acp module i have 2 routes group like this

[Image: ci-error-1.png]


- and this is my filter class, i'm also print out and exit the code to test

[Image: ci-error-2.png]

- the problem was, the router just call the fillter class once, it only go to the filter class if i visit the permission route group. it run ok like this

[Image: ci-error-3.png]

- and it not working when i'm going to the second route url

[Image: ci-error-4.png]

does any one have the same problem? Can anyone help me with this please
Reply


Messages In This Thread
route filters does not work - by tmtuan - 10-11-2020, 04:36 AM
RE: route filters does not work - by ojmichael - 10-11-2020, 10:36 PM
RE: route filters does not work - by tmtuan - 10-12-2020, 07:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB