URI Routing Documentation Error |
|||
|---|---|---|---|
| Date: | 06/08/2009 | Severity: | Trivial |
| Status: | Fixed in SVN | Reporter: | simshaun |
| Version: | 1.7.1 | ||
| Keywords: | User Guide | ||
Description
I’m looking on http://codeigniter.com/user_guide/general/routing.html
One of the examples is
$route[‘product/(:num)’] = “catalog/product_lookup_by_id/$1”;
and it’s description is:
A URL with “product” as the first segment, and anything in the second will be remapped to the “catalog” class and the “product_lookup_by_id” method passing in the match as a variable to the function.
The description should say
A URL with “product” as the first segment, and a number in the second will be remapped to the “catalog” class and the “product_lookup_by_id” method passing in the match as a variable to the function.
