Welcome Guest, Not a member yet? Register   Sign In
Routes, how to handle empty strings? [SOLVED, with hack]
#2

[eluser]WanWizard[/eluser]
I don't see why you would need a route here, any URI starting with pages would be routed to your pages controller automatically.

The issue is probably that if you don't have a cake type in the URI, there is no match on the route rule, which should make it fall through to the default controller (or show a 404 if there is no default controller).


Messages In This Thread
Routes, how to handle empty strings? [SOLVED, with hack] - by El Forum - 07-23-2010, 11:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB