app/presenters/hyrax/file_set_presenter.rb in hyrax-4.0.0 vs app/presenters/hyrax/file_set_presenter.rb in hyrax-5.0.0.rc1

- old
+ new

@@ -103,9 +103,15 @@ def user_can_perform_any_action? Deprecation.warn("We're removing Hyrax::FileSetPresenter.user_can_perform_any_action? in Hyrax 4.0.0; Instead use can? in view contexts.") current_ability.can?(:edit, id) || current_ability.can?(:destroy, id) || current_ability.can?(:download, id) end + ## + # @return [Array<String>] + def show_partials + ['show_details'] + end + private def link_presenter_class SingleUseLinkPresenter end