Welcome Guest, Not a member yet? Register   Sign In
having trouble with controllers
#6

[eluser]InsiteFX[/eluser]
You need to place them above the others.
Note: Routes will run in the order they are defined. Higher routes will always take precedence over lower ones.
Code:
$route['pages/pm/(:any)'] = 'pages/pm/$1';
$route['pages/pm'] = 'pages/pm';

$route['page/:any'] = 'pages/view/$1
$route['default_controller'] = 'pages/view';


Messages In This Thread
having trouble with controllers - by El Forum - 07-20-2012, 08:33 PM
having trouble with controllers - by El Forum - 07-20-2012, 11:59 PM
having trouble with controllers - by El Forum - 07-21-2012, 02:19 AM
having trouble with controllers - by El Forum - 07-21-2012, 03:50 AM
having trouble with controllers - by El Forum - 07-21-2012, 10:50 AM
having trouble with controllers - by El Forum - 07-21-2012, 11:05 AM
having trouble with controllers - by El Forum - 07-21-2012, 04:53 PM
having trouble with controllers - by El Forum - 07-21-2012, 06:45 PM
having trouble with controllers - by El Forum - 07-22-2012, 07:01 PM
having trouble with controllers - by El Forum - 07-22-2012, 11:37 PM
having trouble with controllers - by El Forum - 07-23-2012, 03:23 PM
having trouble with controllers - by El Forum - 07-23-2012, 03:42 PM
having trouble with controllers - by El Forum - 07-23-2012, 05:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB