Update 11-page-menu.md

This commit is contained in:
Patrick Louys 2016-11-02 13:14:13 +01:00 committed by GitHub
parent 6f91572434
commit dd0d96305f

View file

@ -48,7 +48,7 @@ As you can see, on the render function call a `.html` is added. This is because
Add the following code to your `Dependencies.php` file:
```php
$injector->delegate('Twig_Environment', function() use ($injector) {
$injector->delegate('Twig_Environment', function () use ($injector) {
$loader = new Twig_Loader_Filesystem(dirname(__DIR__) . '/templates');
$twig = new Twig_Environment($loader);
return $twig;