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

(09-23-2024, 11:40 PM)bastian Wrote: What do you think about me mixing defined routes with auto routing? Is that generally a problem? I thought CI would check for an existing controller in a given directory and – if that does not exist – then reads the matching route defined in Routes.php. Am I making a mistake in my thinking here?

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



Theme © iAndrew 2016 - Forum software by © MyBB