Welcome Guest, Not a member yet? Register   Sign In
[solved] Tricky Folder Layout
#6

[eluser]Phil Sturgeon[/eluser]
You can reduce your rotues a little there to make them easier to maintain and save you adding a new one for each controller you add.

Code:
$route['account/(:any)/archive/(:any)'] = 'account_$1_archive/$2';
$route['account/(:any)/archive'] = 'account_$1_archive';
$route['account/(:any)/(:any)'] = 'account_$1/$2';
$route['account/(:any)'] = 'account_$1';


Messages In This Thread
[solved] Tricky Folder Layout - by El Forum - 01-14-2009, 04:52 AM
[solved] Tricky Folder Layout - by El Forum - 01-14-2009, 05:03 AM
[solved] Tricky Folder Layout - by El Forum - 01-14-2009, 05:17 AM
[solved] Tricky Folder Layout - by El Forum - 01-14-2009, 05:33 AM
[solved] Tricky Folder Layout - by El Forum - 01-14-2009, 06:15 AM
[solved] Tricky Folder Layout - by El Forum - 01-14-2009, 06:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB