Merge pull request #708 from jkpatel291289/patch-1

Fixed a typing mistake
This commit is contained in:
Lonnie Ezell 2017-09-06 08:23:47 -05:00 committed by GitHub
commit cfe003bf75

View File

@ -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