From f41d2efa8a2a37d8c59613402c1088b22f6794f7 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sat, 3 Nov 2012 17:09:26 +0000 Subject: [PATCH] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f74ec10..f881ca3 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,7 @@ Flight also uses variables for configuration purposes. Flight provides some basic templating functionality by default. To display a view template call the `render` method with the name of the template file and optional template data: - Flight::render('hello.php', array('name', 'Bob')); + Flight::render('hello.php', array('name' => 'Bob')); The template data you pass in is automatically injected into the template and can be reference like a local variable. Template files are simply PHP files. If the content of the `hello.php` template file is: