diff --git a/Views/Twig.php b/Views/Twig.php index c2feb41..12a2e17 100644 --- a/Views/Twig.php +++ b/Views/Twig.php @@ -96,7 +96,7 @@ public function render($template) $env = $this->getEnvironment(); $template = $env->loadTemplate($template); - return $template->render($this->data); + return $template->render($this->data->all()); } /**