Welcome Guest, Not a member yet? Register   Sign In
remove controller from url?
#2

[eluser]Chad Fulton[/eluser]
I think you will want to use the Routing feature. Something like:

Code:
$routes['(:any)'] = 'page/$1';

Although it sounds like you're not interested in a critique of the "one big controller" approach, I do want to mention that it will not be scalable or (probably) maintainable in the long run. You should think about breaking it up, maybe.


Messages In This Thread
remove controller from url? - by El Forum - 07-08-2009, 10:52 AM
remove controller from url? - by El Forum - 07-08-2009, 10:55 AM
remove controller from url? - by El Forum - 07-08-2009, 10:58 AM
remove controller from url? - by El Forum - 07-08-2009, 11:04 AM
remove controller from url? - by El Forum - 07-08-2009, 11:22 AM
remove controller from url? - by El Forum - 07-08-2009, 11:47 AM
remove controller from url? - by El Forum - 07-08-2009, 12:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB