Skip to content

Commit

Permalink
fix breadcrumbs in work show
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Dec 20, 2024
1 parent 3b685e7 commit a64afcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/presenters/hyrax/work_show_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a64afcf

Please sign in to comment.