Fixed an issue.

Fixed the issue stated in: https://github.com/PatrickLouys/no-framework-tutorial/issues/38
This commit is contained in:
Hassan Althaf 2015-11-26 11:51:22 +05:30 committed by lubiana
parent 1687fe3429
commit 939eb43619
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk

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.