mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #708 from jkpatel291289/patch-1
Fixed a typing mistake
This commit is contained in:
commit
cfe003bf75
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user