Welcome Guest, Not a member yet? Register   Sign In
Problem with routes
#4

[eluser]CroNiX[/eluser]
Try using (.*) in your routes instead of (:any).
Code:
$route['(.*)/(.*)'] = '$2';
That will load the index method of whatever controller $2 is, assuming the controller exists.


Messages In This Thread
Problem with routes - by El Forum - 02-26-2012, 12:58 PM
Problem with routes - by El Forum - 02-26-2012, 01:15 PM
Problem with routes - by El Forum - 02-26-2012, 02:13 PM
Problem with routes - by El Forum - 02-26-2012, 02:51 PM
Problem with routes - by El Forum - 02-26-2012, 09:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB