Welcome Guest, Not a member yet? Register   Sign In
Routing and Remap
#7

[eluser]tomcode[/eluser]
Yeah, that's why I couldn't resist to answer Wink .

In fact, in the above code sample I've adapted mine to match Your controller names, also I have a multi-language site, here is what I actually use :

Code:
$route['default_controller'] = "welcome";
$route['scaffolding_trigger'] = "";

$route['([a-z]+)/connection'] = 'connection';
$route['([a-z]+)/connection(:any)'] = 'connection/$1';

$route['edit'] = 'edit';
$route['edit(:any)'] = 'edit/$1';

$route['(:any)'] = "welcome/$1";

Where edit is the central ajax controller for the jquery.jeditable calls (I use exclusively inline editing for the page contents).


Messages In This Thread
Routing and Remap - by El Forum - 02-07-2010, 02:34 AM
Routing and Remap - by El Forum - 02-07-2010, 04:20 PM
Routing and Remap - by El Forum - 02-07-2010, 04:47 PM
Routing and Remap - by El Forum - 02-07-2010, 04:50 PM
Routing and Remap - by El Forum - 02-07-2010, 04:54 PM
Routing and Remap - by El Forum - 02-07-2010, 04:56 PM
Routing and Remap - by El Forum - 02-07-2010, 05:05 PM
Routing and Remap - by El Forum - 02-07-2010, 05:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB