From 7f493421c4e39052f266244d2af03a482fdddb9a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 2 Aug 2011 22:54:56 -0500 Subject: [PATCH] syntax highlighting: take 3. --- readme.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/readme.md b/readme.md index 5bac1bb1..0f16e58e 100644 --- a/readme.md +++ b/readme.md @@ -7,6 +7,8 @@ ### Beautifully Expressive Syntax Stay true to the web with RESTful routing: ```php + function() { return View::make('home/index'); @@ -16,25 +18,19 @@ ### Beautifully Expressive Syntax Redirect to a named route and flash something to the session: ```php -with('message', 'Welcome Back!'); +with('message', 'Welcome Back!'); ``` Retrieve a blog post and eagerly load the comments using Eloquent ORM: ```php -find(1); +find(1); ``` Get input from the previous request to re-populate a form: ```php -