Welcome Guest, Not a member yet? Register   Sign In
Auto routing and/or defining routes
#6

(09-24-2024, 02:02 AM)kenjis Wrote: You misunderstand CI routing.
It checks defined routes first, and if not found, find the controller by auto routing (if it is enabled).

Ah, I see. Thank you for clarifying it.


Oh and the typo is just so annoying. Okay, so now I found out, that I have to prefix methods of controllers in the sub folder with "get". And redirecting isn't working anymore in the constructor. Oh holy… that transformation is really tough!


I guess I'll go for defining all the routes and letting auto routing disabled. Seems the safer way for me.


Thank you for your help, kenjis!
Reply


Messages In This Thread
Auto routing and/or defining routes - by bastian - 09-23-2024, 11:42 AM
RE: Auto routing and/or defining routes - by bastian - 09-24-2024, 05:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB