Welcome Guest, Not a member yet? Register   Sign In
Error in routing with specific keyword
#1

[eluser]Kamape[/eluser]
I'm currently using a routing like this:

Code:
$route['increment'] = 'cart/increment';

This is not working, it's like there is some reserved keyword in "increment".

If I'll switch it too 'foo' it's working correctly.

Someone noticed the same?
#2

[eluser]Colin Williams[/eluser]
Define for us "not working." I just tested an 'increment' route and it worked fine.
#3

[eluser]Kamape[/eluser]
[quote author="Colin Williams" date="1247139996"]Define for us "not working." I just tested an 'increment' route and it worked fine.[/quote]

Strange.. I'll have routing like this:

Code:
$route['decrement']            = 'cart/decrement';
$route['increment']            = 'cart/increment';
$route['(:any)']             = 'product/category/$1';

First of all, the decrement route works, then if i'll navigate to 'increment' i'll go to the :any route.

If I remove the :any route, I'll get an 404.




Theme © iAndrew 2016 - Forum software by © MyBB