Skip to content

Commit

Permalink
Merge branch '4.0' into 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Nov 5, 2024
2 parents 5652574 + 8fa3a8b commit 6d1eb77
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ public function render(string $pathToTwigFile, array $templateVars = [], ?Respon
{
$response ??= new Response();
$twigWrapper = new TwigWrapper(PMF_ROOT_DIR . '/assets/templates', true);
$twigWrapper->setSetup(true);
$template = $twigWrapper->loadTemplate($pathToTwigFile);

$response->setContent($template->render($templateVars));
Expand Down

0 comments on commit 6d1eb77

Please sign in to comment.