Welcome Guest, Not a member yet? Register   Sign In
$route[':any'] issue
#15

[eluser]Randy Casburn[/eluser]
OH!! I've misunderstood along then. Of course you cannot do that. You've told CI explicitly to ignore all other requests for methods within the 'Welcome' class since you said "intercept calls to :any" method. So what this does is "reroute" the call (in my example above) to the 'test_me' method and then echo's the string if finds at the location of URI segment 1. CI is doing exactly what you are asking it to do.

You must handle everything within your method call (test_me my example).

Does this make sense?

Randy


Messages In This Thread
$route[':any'] issue - by El Forum - 06-16-2008, 11:14 AM
$route[':any'] issue - by El Forum - 06-16-2008, 12:25 PM
$route[':any'] issue - by El Forum - 06-16-2008, 12:59 PM
$route[':any'] issue - by El Forum - 06-16-2008, 02:11 PM
$route[':any'] issue - by El Forum - 06-16-2008, 02:13 PM
$route[':any'] issue - by El Forum - 06-16-2008, 02:17 PM
$route[':any'] issue - by El Forum - 06-16-2008, 02:42 PM
$route[':any'] issue - by El Forum - 06-16-2008, 02:56 PM
$route[':any'] issue - by El Forum - 06-16-2008, 03:08 PM
$route[':any'] issue - by El Forum - 06-16-2008, 04:00 PM
$route[':any'] issue - by El Forum - 06-16-2008, 04:11 PM
$route[':any'] issue - by El Forum - 06-16-2008, 05:41 PM
$route[':any'] issue - by El Forum - 06-16-2008, 07:01 PM
$route[':any'] issue - by El Forum - 06-16-2008, 07:22 PM
$route[':any'] issue - by El Forum - 06-16-2008, 07:32 PM
$route[':any'] issue - by El Forum - 06-16-2008, 07:45 PM
$route[':any'] issue - by El Forum - 06-16-2008, 07:49 PM
$route[':any'] issue - by El Forum - 06-16-2008, 08:19 PM
$route[':any'] issue - by El Forum - 06-16-2008, 08:20 PM
$route[':any'] issue - by El Forum - 06-16-2008, 09:25 PM
$route[':any'] issue - by El Forum - 06-16-2008, 09:47 PM
$route[':any'] issue - by El Forum - 06-17-2008, 09:29 AM
$route[':any'] issue - by El Forum - 06-17-2008, 09:40 AM
$route[':any'] issue - by El Forum - 06-17-2008, 10:12 AM
$route[':any'] issue - by El Forum - 06-17-2008, 11:04 AM
$route[':any'] issue - by El Forum - 06-17-2008, 03:29 PM
$route[':any'] issue - by El Forum - 06-17-2008, 03:38 PM
$route[':any'] issue - by El Forum - 06-17-2008, 03:49 PM
$route[':any'] issue - by El Forum - 06-17-2008, 04:02 PM
$route[':any'] issue - by El Forum - 06-17-2008, 05:20 PM
$route[':any'] issue - by El Forum - 06-17-2008, 05:58 PM
$route[':any'] issue - by El Forum - 06-17-2008, 08:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB