What is wrong in this route rule? |
[eluser]chefnelone[/eluser]
hello I have this route where I need to have the :any segment in the $2 variable. Code: $route['[^/]+/:any/pos'] = 'index/$2'; Then if I have this url: www.misite.com/es/products/pos I'd expect that the route call to: index/products but it doesn't work... But it works fine with: Code: $route['[^/]+/products/pos'] = 'index/products'; I can't see my mistake, /:any/ is segment 2, It isn't? |
Messages In This Thread |
What is wrong in this route rule? - by El Forum - 07-15-2010, 04:34 AM
What is wrong in this route rule? - by El Forum - 07-15-2010, 06:15 AM
What is wrong in this route rule? - by El Forum - 07-15-2010, 09:16 AM
|