• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User Guide : Uri Routing

#1
[eluser]gtipete[/eluser]
i believe that
Quote:$route['product/:any'] = "catalog/product_lookup";

should become
Quote:$route['product/(:any)'] = "catalog/product_lookup/$1";
... this is the only way that i can make it work anyway, please correct me if im wrong though Smile

#2
[eluser]Pascal Kriete[/eluser]
That's what the example right underneath is for. It's there to show what can be done, some people may not need to capture the trailing segments.

#3
[eluser]sophistry[/eluser]
i stumbled on this same thing a few months back. here is the link to my writeup of this bug/inconsistency in the manual (or the code - take your pick).

cheers.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.