Welcome Guest, Not a member yet? Register   Sign In
UserGuide : Routes
#1

[eluser]Reynolds[/eluser]
CodeIgniter 1.7.2

A typo problem in documentation for Routing examples.

wherein
Code:
$route['product/:any'] = "catalog/product_lookup";
is suppose to be
Code:
$route['product/(:any)'] = "catalog/product_lookup";
right?

I was staring and re-reading this part for about an hour, and ended up googling as to why is it not working. Fortunately I found the problem by looking other's code(s).




Theme © iAndrew 2016 - Forum software by © MyBB