diff --git a/src/Schema/Parts/Breadcrumbs.php b/src/Schema/Parts/Breadcrumbs.php index 0956ddd..4a7c08a 100644 --- a/src/Schema/Parts/Breadcrumbs.php +++ b/src/Schema/Parts/Breadcrumbs.php @@ -63,11 +63,11 @@ public function data() $item = Schema::thing(); // If we've got a title add it, else see of we've got an origin and add the title from there - if ($title = $crumb->get('title')) { + if ($title = $crumb->title()) { $item->name($title); } else { if ($crumb->origin()) { - $item->name($crumb->origin()->get('title')); + $item->name($crumb->origin()->title()); } }