Welcome Guest, Not a member yet? Register   Sign In
Routing question
#2

[eluser]richthegeek[/eluser]
routes are executed in the order that they are listed, and matching one stops the execution of the rest.

As such, having your routes looking something like this:
Code:
$routes['register'] = '/users/register';
$routes['contact'] = '/controller/contact';
$routes['profile'] = '/users/profile';
$routes['(:any)'] = '/show/$1';

Should sort you out.


Messages In This Thread
Routing question - by El Forum - 02-04-2009, 03:53 AM
Routing question - by El Forum - 02-04-2009, 04:55 AM
Routing question - by El Forum - 02-04-2009, 08:59 AM
Routing question - by El Forum - 02-04-2009, 09:43 AM
Routing question - by El Forum - 02-04-2009, 09:45 AM
Routing question - by El Forum - 02-04-2009, 09:50 AM
Routing question - by El Forum - 02-04-2009, 09:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB