app/presenters/blacklight/document_presenter.rb in blacklight-7.12.1 vs app/presenters/blacklight/document_presenter.rb in blacklight-7.13.0

- old
+ new

@@ -111,9 +111,13 @@ # @option options [Array<String>] :exclude array of format shortnames to not include in the output def link_rel_alternates(options = {}) LinkAlternatePresenter.new(view_context, document, options).render end + def view_config + @view_config ||= configuration.view_config(:show) + end + private def render_field?(field_config) field_presenter(field_config).render_field? end