Commit b451becc authored by Taylor Otwell's avatar Taylor Otwell

Tweak route documentation.

parent dfcf3dd3
...@@ -28,15 +28,13 @@ return array( ...@@ -28,15 +28,13 @@ return array(
| 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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment