Edited readme.md via GitHub
This commit is contained in:
parent
48849f63d5
commit
20a92ee123
|
@ -142,10 +142,6 @@ ### The Basics
|
||||||
All you need to do is tell Laravel the request methods and URIs it should respond to. You define the behavior of the route using an anonymous method:
|
All you need to do is tell Laravel the request methods and URIs it should respond to. You define the behavior of the route using an anonymous method:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
<?php
|
|
||||||
|
|
||||||
return array(
|
|
||||||
|
|
||||||
'GET /home' => function()
|
'GET /home' => function()
|
||||||
{
|
{
|
||||||
// Handles GET requests to http://example.com/index.php/home
|
// Handles GET requests to http://example.com/index.php/home
|
||||||
|
|
Loading…
Reference in New Issue