From b5f211b14198afce3a4a60000f9ab3b8f14d0d6d Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 17 Jan 2010 15:42:56 +0000 Subject: doc updates, corrections and clarifications. --- user_guide/general/routing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/general') diff --git a/user_guide/general/routing.html b/user_guide/general/routing.html index 01a8aef8e..11ff4a2f6 100644 --- a/user_guide/general/routing.html +++ b/user_guide/general/routing.html @@ -117,7 +117,7 @@ Higher routes will always take precedence over lower ones.

A URL with "product" as the first segment, and anything in the second will be remapped to the "catalog" class and the "product_lookup" method.

$route['product/(:num)'] = "catalog/product_lookup_by_id/$1"; -

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.

+

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.

Important: Do not use leading/trailing slashes.

-- cgit v1.2.3-24-g4f1b