From a64afcf0cb09ca68399025d4151010aca6f3e73d Mon Sep 17 00:00:00 2001 From: Rob Kaufman Date: Thu, 19 Dec 2024 17:09:58 -0800 Subject: [PATCH] fix breadcrumbs in work show --- app/presenters/hyrax/work_show_presenter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/presenters/hyrax/work_show_presenter.rb b/app/presenters/hyrax/work_show_presenter.rb index 69e755cd1b..38c2f8b885 100644 --- a/app/presenters/hyrax/work_show_presenter.rb +++ b/app/presenters/hyrax/work_show_presenter.rb @@ -57,11 +57,11 @@ def define_dynamic_methods end end - + # We cannot rely on the method missing to catch this delegation. Because # most all objects implicitly implicitly implement #to_s - delegate :to_s, to: :solr_document unless Hyrax.config.flexible? + delegate :to_s, to: :solr_document def schema_version solr_document[:schema_version_ssi]