Commit 067a7697 authored by Avris's avatar Avris

v2.0

parent bdad9831
Pipeline #946021 skipped
...@@ -68,6 +68,8 @@ class TwigTemplater extends Templater ...@@ -68,6 +68,8 @@ class TwigTemplater extends Templater
*/ */
public function render($vars) public function render($vars)
{ {
$this->twig->addGlobal('app', $this->buildAppVar());
return $this->twig->render($vars['_view'], $vars); return $this->twig->render($vars['_view'], $vars);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment