Tweak route documentation.

This commit is contained in:
Taylor Otwell 2011-08-09 11:22:27 -05:00
parent dfcf3dd322
commit b451becc2e
1 changed files with 1 additions and 3 deletions

View File

@ -28,15 +28,13 @@
| return 'Hello World!'; | 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) | 'GET /hello/(:any)' => function($name)
| { | {
| return "Welcome, $name."; | return "Welcome, $name.";
| } | }
| |
| Ready to learn more? Check out: http://laravel.com/docs/start/routes
|
*/ */
'GET /' => function() 'GET /' => function()