[eluser]Azrael91[/eluser]
[quote author="Aken" date="1310990056"]
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.[/quote]
I don't know why it didn't work ar first ... now it does
. Another quick question:
This conflicts ... is there any other way ?
Code:
$route['(:any)'] = 'webshop/produse/$1';
$route['(:any)'] = 'webshop/pages/$1';