Tweak route documentation.
This commit is contained in:
parent
dfcf3dd322
commit
b451becc2e
|
@ -28,15 +28,13 @@
|
|||
| return 'Hello World!';
|
||||
| }
|
||||
|
|
||||
| Allow URI wildcards using the (:num) or (:any) place-holders:
|
||||
| Here's how to allow URI wildcards using the (:num) or (:any) place-holders:
|
||||
|
|
||||
| 'GET /hello/(:any)' => function($name)
|
||||
| {
|
||||
| return "Welcome, $name.";
|
||||
| }
|
||||
|
|
||||
| Ready to learn more? Check out: http://laravel.com/docs/start/routes
|
||||
|
|
||||
*/
|
||||
|
||||
'GET /' => function()
|
||||
|
|
Loading…
Reference in New Issue