Skip to content

Commit 03cd84a

Browse files
committed
adding partials path
1 parent 1f3b50b commit 03cd84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatternLab/PatternEngine/Twig/PatternEngineRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function getPatternLoader($options = array()) {
4646
*/
4747
public function getFileSystemLoader($options = array()) {
4848

49-
$twigLoader = new Twig_Loader_Filesystem($options["templatePath"]);
49+
$twigLoader = new Twig_Loader_Filesystem(array($options["templatePath"],$options["partialsPath"]));
5050

5151
return new \Twig_Environment($twigLoader);
5252

0 commit comments

Comments
 (0)