Can we use role filter for all methods of a class without creating route for each method? #328
Answered
by
MGatner
Hiruma-youichi
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
MGatner
Mar 7, 2021
Replies: 1 comment 1 reply
-
There are many ways to consolidate routes. You should look into wildcards, auto-routing, and route groups. None of this is really about Myth:Auth though so you might do better on the CodeIgniter Support Forums. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Hiruma-youichi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are many ways to consolidate routes. You should look into wildcards, auto-routing, and route groups. None of this is really about Myth:Auth though so you might do better on the CodeIgniter Support Forums.
https://codeigniter.com/user_guide/incoming/routing.html