Welcome Guest, Not a member yet? Register   Sign In
Do I need to add a URI reroute for every single function for every single class?
#4

[eluser]iamsen47[/eluser]
[quote author="Migranux" date="1346355044"]Hello,
No, you don't Wink
Code:
$route['tickets/index/(:any)'] = 'tickets/index/$1';
$route['tickets/(:any)'] = 'tickets/view/$1';
$route['(:any)'] = 'pages/view/$1';
$route['default_controller'] = 'pages/view';
Hope it will help you...[/quote]

Thanks.

Doesn't that mean that the create and login pages will have to be placed in the view functionality?

===

I tried replacing my routes with the ones you provided and my links stopped working.
I have only one controller called tickets.php with the index, create and login functions all inside it. Could I be doing something wrong?


Messages In This Thread
Do I need to add a URI reroute for every single function for every single class? - by El Forum - 08-30-2012, 07:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB