summaryrefslogtreecommitdiffstats
path: root/user_guide/general/routing.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/general/routing.html')
-rw-r--r--user_guide/general/routing.html2
1 files changed, 1 insertions, 1 deletions
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.</p>
<p>A typical RegEx route might look something like this:</p>
-<code>$route['products\/([a-z]+)\/(\d+)'] = "$1/id_$2";</code>
+<code>$route['products/([a-z]+)/(\d+)'] = "$1/id_$2";</code>
<p>In the above example, a URI similar to <dfn>products/shirts/123</dfn> would instead call the <dfn>shirts</dfn> controller class and the <dfn>id_123</dfn> function.</p>