Tweak routes.php documentation.
This commit is contained in:
parent
0344d74c6e
commit
daa91818d9
|
|
@ -28,7 +28,7 @@
|
||||||
| return 'Hello World!';
|
| return 'Hello World!';
|
||||||
| }
|
| }
|
||||||
|
|
|
|
||||||
| Here's how to allow URI wildcards using the (:num) or (:any) place-holders:
|
| It's easy to allow URI wildcards using the (:num) or (:any) place-holders:
|
||||||
|
|
|
|
||||||
| 'GET /hello/(:any)' => function($name)
|
| 'GET /hello/(:any)' => function($name)
|
||||||
| {
|
| {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue