From c53bd488ea0ddc3ef6b8bc7902e336833f6c8681 Mon Sep 17 00:00:00 2001 From: Stephen Appel Date: Fri, 22 Sep 2023 16:19:21 -0500 Subject: [PATCH] Show the download button regardless of restriction --- app/models/solr_document.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/models/solr_document.rb b/app/models/solr_document.rb index e74088f..1017715 100644 --- a/app/models/solr_document.rb +++ b/app/models/solr_document.rb @@ -35,4 +35,9 @@ def sidecar sidecar end + + # Show the download button regardless of restriction + def public? + true + end end