We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a831f4e commit 97d1a0aCopy full SHA for 97d1a0a
Views/Haml.php
@@ -78,6 +78,7 @@ public function render($template)
78
require_once self::$hamlDirectory . '/HamlPHP/Storage/FileStorage.php';
79
$parser = new \HamlPHP(new \FileStorage(self::$hamlCacheDirectory));
80
81
- return $parser->parseFile(self::$hamlTemplatesDirectory . $template, $this->data);
+ $file = $parser->parseFile(self::$hamlTemplatesDirectory . $template);
82
+ return $parser->evaluate($file, $this->data);
83
}
84
0 commit comments