Merge pull request #39 from HassanAlthaf/patch-1

Fixed an issue.
This commit is contained in:
Patrick Louys 2015-11-26 08:46:48 +01:00
commit 1b181f6806

View file

@ -134,11 +134,7 @@ In your project root folder, create a `templates` folder. In there, create a fil
Hello {{ name }} Hello {{ name }}
``` ```
Now you can go back to your `Homepage` controller and change the render line to `$content = $this->renderer Now you can go back to your `Homepage` controller and change the render line to `$html = $this->renderer->render('Homepage', $data);`
->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. Navigate to the hello page in your browser to make sure everything works. And as always, don't forget to commit your changes.