From 4d5a5e93206be934525119b3105341895fd9d844 Mon Sep 17 00:00:00 2001 From: Yannick Albert Date: Thu, 4 Jul 2013 03:33:50 -0700 Subject: [PATCH] Updated Documentation (markdown) --- Documentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation.md b/Documentation.md index 3e77ac8..fd5749a 100644 --- a/Documentation.md +++ b/Documentation.md @@ -334,7 +334,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: