Skip to content

Commit 221fe7a

Browse files
committed
adding '/patterns/' to the links
1 parent 81a04e0 commit 221fe7a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/PatternLab/PatternData/Exporters/DataLinkExporter.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@
1717
use \PatternLab\Timer;
1818

1919
class DataLinkExporter extends \PatternLab\PatternData\Exporter {
20-
20+
2121
public function __construct($options = array()) {
22-
22+
2323
parent::__construct($options);
24-
24+
2525
}
26-
26+
2727
public function run() {
28-
28+
2929
$store = PatternData::get();
3030
foreach ($store as $patternStoreKey => $patternStoreData) {
31-
31+
3232
if ($patternStoreData["category"] == "pattern") {
33-
34-
$value = "../../".$patternStoreData["pathDash"]."/".$patternStoreData["pathDash"].".html";
33+
34+
$value = "../../patterns/".$patternStoreData["pathDash"]."/".$patternStoreData["pathDash"].".html";
3535
Data::setOptionLink($patternStoreKey, $value);
36-
36+
3737
}
38-
38+
3939
}
40-
40+
4141
}
42-
42+
4343
}

0 commit comments

Comments
 (0)