Tweak route documentation.
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user