diff options
author | Arnold Daniels <arnold@jasny.net> | 2017-05-31 03:19:13 +0200 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2017-05-31 03:19:13 +0200 |
commit | 0265d893fcb7a59c2bb535b74b958799a2afd697 (patch) | |
tree | 61c1d94543807e8a9e4f101d08c01ec260c585a8 /src | |
parent | e30b7decee03b6bb1a7d9512daaf927588c99e6a (diff) | |
download | view-0265d893fcb7a59c2bb535b74b958799a2afd697.zip view-0265d893fcb7a59c2bb535b74b958799a2afd697.tar.gz view-0265d893fcb7a59c2bb535b74b958799a2afd697.tar.bz2 |
Fix test for TwigView
Diffstat (limited to 'src')
-rw-r--r-- | src/View/Twig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/View/Twig.php b/src/View/Twig.php index 76c0279..7d3adfe 100644 --- a/src/View/Twig.php +++ b/src/View/Twig.php @@ -209,7 +209,7 @@ class Twig implements ViewInterface $file = $this->getFilename($name); $twig = $this->getTwig(); - $tmpl = $twig->loadTemplate($file); + $tmpl = $twig->load($file); $this->invokePluginsOnRender($file, $context); |