From e81e39c8acd7b8a3ec7dfaaa4532f808dc04528d Mon Sep 17 00:00:00 2001 From: Hassan Althaf Date: Thu, 26 Nov 2015 11:51:22 +0530 Subject: [PATCH] Fixed an issue. Fixed the issue stated in: https://github.com/PatrickLouys/no-framework-tutorial/issues/38 --- 09-templating.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/09-templating.md b/09-templating.md index 3e99998..a679aaa 100644 --- a/09-templating.md +++ b/09-templating.md @@ -134,11 +134,7 @@ In your project root folder, create a `templates` folder. In there, create a fil Hello {{ name }} ``` -Now you can go back to your `Homepage` controller and change the render line to `$content = $this->renderer - - - -->render('Homepage', $data);` +Now you can go back to your `Homepage` controller and change the render line to `$html = $this->renderer->render('Homepage', $data);` Navigate to the hello page in your browser to make sure everything works. And as always, don't forget to commit your changes.