Skip to content

Commit 4b0ec62

Browse files
committed
Forgot to change site() to $this
1 parent 9002f5a commit 4b0ec62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/site-methods.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
}
1919
},
2020
'indexedPages' => function () {
21-
return kirby()->site()->index()->filterBy('isIndexible', '==', true);
21+
return $this->index()->filterBy('isIndexible', '==', true);
2222
},
2323
];

0 commit comments

Comments
 (0)