Skip to content

Commit 77f2759

Browse files
committed
Fix snapshot
1 parent aee09fd commit 77f2759

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routes/snapshot.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
'method' => 'POST',
2323
'action' => function () {
2424
$exporter = new Exporter(walkerSettings());
25-
$models = site()->index()->prepend(site());
26-
$data = $exporter->export($models);
25+
$data = $exporter->export(site());
2726

2827
return Snapshot::create($_GET['name'], $data);
2928
}

0 commit comments

Comments
 (0)