From b071bb5a92aade551345a495fb13f5678f3978d0 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 26 Aug 2006 19:28:37 +0000 Subject: --- user_guide/general/routing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/general/routing.html') diff --git a/user_guide/general/routing.html b/user_guide/general/routing.html index 977698b9f..e5dac6808 100644 --- a/user_guide/general/routing.html +++ b/user_guide/general/routing.html @@ -138,7 +138,7 @@ Higher routes will always take precedence over lower ones.

A typical RegEx route might look something like this:

-$route['products\/([a-z]+)\/(\d+)'] = "$1/id_$2"; +$route['products/([a-z]+)/(\d+)'] = "$1/id_$2";

In the above example, a URI similar to products/shirts/123 would instead call the shirts controller class and the id_123 function.

-- cgit v1.2.3-24-g4f1b