From 65b5706636a831640c8e2c3f8f5e8aaa8d6024b6 Mon Sep 17 00:00:00 2001 From: jaynarayan Date: Wed, 6 Sep 2017 18:44:24 +0530 Subject: [PATCH] a small typing mistake --- user_guide_src/source/general/routing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/general/routing.rst b/user_guide_src/source/general/routing.rst index ca2bd46c20..dc43d7c19a 100644 --- a/user_guide_src/source/general/routing.rst +++ b/user_guide_src/source/general/routing.rst @@ -45,7 +45,7 @@ Placeholders A typical route might look something like this:: - $routes->add('product/:num', 'App\Catalog::productLookup'); + $routes->add('product/(:num)', 'App\Catalog::productLookup'); In a route, the first parameter contains the URI to be matched, while the second parameter contains the destination it should be re-routed to. In the above example, if the literal word