Commit a911d541 authored by Taylor Otwell's avatar Taylor Otwell

Edited readme.md via GitHub

parent 6fbd868e
...@@ -141,6 +141,10 @@ Unlike other PHP frameworks, Laravel places routes and their corresponding funct ...@@ -141,6 +141,10 @@ Unlike other PHP frameworks, Laravel places routes and their corresponding funct
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
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
......
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