Edited readme.md via GitHub

This commit is contained in:
Taylor Otwell 2011-07-14 10:04:12 -07:00
parent 6fbd868efd
commit a911d54166
1 changed files with 12 additions and 8 deletions

View File

@ -141,6 +141,10 @@ ### 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:
<?php
return array(
'GET /home' => function()
{
// Handles GET requests to http://example.com/index.php/home