diff --git a/src/Extension/FluentLeftAndMainExtension.php b/src/Extension/FluentLeftAndMainExtension.php index c0320cee..cb81cf8d 100644 --- a/src/Extension/FluentLeftAndMainExtension.php +++ b/src/Extension/FluentLeftAndMainExtension.php @@ -33,7 +33,7 @@ protected function onInit() */ protected function updateBreadcrumbs(ArrayList $breadcrumbs) { - $record = $this->owner->currentPage(); + $record = $this->owner->currentRecord(); if (!$record) { return; }