Skip to content

Commit e22ed6b

Browse files
committed
making sure .twig templates can be found
1 parent d128447 commit e22ed6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatternLab/PatternEngine/Twig/Loaders/FilesystemLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct($options = array()) {
3434
*/
3535
public function render($options = array()) {
3636

37-
return $this->instance->render($options["template"], $options["data"]);
37+
return $this->instance->render($options["template"].".twig", $options["data"]);
3838

3939
}
4040

0 commit comments

Comments
 (0)