mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter4 into develop
This commit is contained in:
commit
a0a127c3ad
@ -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