Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit 03cd84a

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)