Welcome Guest, Not a member yet? Register   Sign In
Routes question
#2

[eluser]Aken[/eluser]
Code:
$routes['(:any)'] = 'webshop/pages/$1';

You may want to reconsider having a single controller function serving all your pages, though. It makes your code more complicated, less compartmentalized and just more difficult in general.


Messages In This Thread
Routes question - by El Forum - 07-18-2011, 12:44 AM
Routes question - by El Forum - 07-18-2011, 12:54 AM
Routes question - by El Forum - 07-18-2011, 01:13 AM
Routes question - by El Forum - 07-18-2011, 10:40 AM
Routes question - by El Forum - 08-04-2011, 01:01 AM
Routes question - by El Forum - 08-04-2011, 02:37 AM
Routes question - by El Forum - 08-04-2011, 03:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB