From 3919082b95d1cba35c1fbdc8f8d63422e9a74962 Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Wed, 18 Oct 2023 12:49:43 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Change=20Hyky=20to=20Hyku=20(#20?= =?UTF-8?q?29)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typo caused inability to upload collection thumbnail. --- .../hyrax/dashboard/collections/_current_thumbnail.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/hyrax/dashboard/collections/_current_thumbnail.html.erb b/app/views/hyrax/dashboard/collections/_current_thumbnail.html.erb index fb64f8cc4..7c78b27a4 100644 --- a/app/views/hyrax/dashboard/collections/_current_thumbnail.html.erb +++ b/app/views/hyrax/dashboard/collections/_current_thumbnail.html.erb @@ -1,5 +1,5 @@ <% thumbnail_path = SolrDocument.find(@collection.id).thumbnail_path %> - <% if thumbnail_path.include?("uploaded_collection_thumbnails") and File.exist? Hyky::Application.path_for("public#{::SolrDocument.find(@collection.id).thumbnail_path}") %> + <% if thumbnail_path.include?("uploaded_collection_thumbnails") and File.exist? Hyku::Application.path_for("public#{::SolrDocument.find(@collection.id).thumbnail_path}") %> <%= image_tag(thumbnail_path, class: "current-thumbnail") %>

Current image: <%= @thumbnail_filename %>

<% else %>