Skip to content

Commit

Permalink
🐛 Change Hyky to Hyku (#2029)
Browse files Browse the repository at this point in the history
Typo caused inability to upload collection thumbnail.
  • Loading branch information
laritakr authored Oct 18, 2023
1 parent d2c02e3 commit 3919082
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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") %>
<p>Current image: <strong><%= @thumbnail_filename %></strong></p>
<% else %>
Expand Down

0 comments on commit 3919082

Please sign in to comment.