app/components/arclight/collection_sidebar_component.rb in arclight-1.1.3 vs app/components/arclight/collection_sidebar_component.rb in arclight-1.2.0

- old
+ new

@@ -27,15 +27,13 @@ def section_label(section) t("arclight.views.show.sections.#{section}") end def document_path - @document_path ||= solr_document_path(normalized_eadid) + @document_path ||= solr_document_path(document.collection_id) end def section_anchor(section) "##{t("arclight.views.show.sections.#{section}").parameterize}" end - - delegate :normalized_eadid, to: :document end end