We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e27f7 commit 377141fCopy full SHA for 377141f
src/Routes/PageRouteHelper.php
@@ -15,6 +15,8 @@ public function getUrl(Page $page, ?string $locale = null): string
15
return route(static::ROUTE_HOME);
16
}
17
18
+ $page->load('parent.parent');
19
+
20
if ($page->parent && $page->parent->parent) {
21
return route(static::ROUTE_GRANDCHILD_PAGE, [
22
'grandparent' => $page->parent->parent,
0 commit comments