Skip to content

Commit

Permalink
fix resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
OxCom committed Nov 29, 2016
1 parent 88d1898 commit 74930b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Resolver/TwigResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ public function __construct(Twig_Environment $environment = null)
* @param string $name
* @param null|Renderer $renderer
*
* @return bool
* @return string
*/
public function resolve($name, Renderer $renderer = null)
{
return $this->environment->loadTemplate($name);
return $this->environment
->resolveTemplate($name);
}
}

0 comments on commit 74930b2

Please sign in to comment.