Welcome Guest, Not a member yet? Register   Sign In
Routing with parametars problem
#3

(This post was last modified: 04-08-2022, 08:28 AM by Didytz.)

(04-08-2022, 07:35 AM)iRedds Wrote: Slash in handler namespace is an error.

@kenji It seems to me that an exception should be thrown for invalid slashes in the namespace of the route handler.
Hi and tnx for reply, but could you tell me exactly what is problem with slash? It should not be there at all or it should be other kind of slash (backslash?)
Sorry if this is stupid question, but I compare my route with CI 4 official tutorial / example and everything looks the same just changed names of URI and controler... Huh

I mean this looks the same as my route, and this is from https://codeigniter.com/user_guide/incom...uting.html
Code:
$routes->add('product/(:any)', 'Catalog::productLookup/$1');
Reply


Messages In This Thread
Routing with parametars problem - by Didytz - 04-08-2022, 07:09 AM
RE: Routing with parametars problem - by iRedds - 04-08-2022, 07:35 AM
RE: Routing with parametars problem - by Didytz - 04-08-2022, 08:26 AM
RE: Routing with parametars problem - by iRedds - 04-08-2022, 08:39 AM
RE: Routing with parametars problem - by Didytz - 04-08-2022, 08:44 AM
RE: Routing with parametars problem - by iRedds - 04-08-2022, 10:23 PM
RE: Routing with parametars problem - by kenjis - 04-08-2022, 05:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB