Skip to content

Commit

Permalink
Fix public 404s
Browse files Browse the repository at this point in the history
  • Loading branch information
cguess committed Mar 6, 2025
1 parent ff403a4 commit 7641da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/media_vault/media/_archive_item.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
</div>
<% end %>

<% unless archive_item_self.archive_item.private && (!defined?(public) || !public) %>
<% unless archive_item_self.archive_item.private || (!defined?(public) || !public) %>
<%= link_to media_vault_export_media_metadata_path(archive_item_self.archive_item.id) do %>
<div class="archive-item__download__link"><%= t("dashboard.download_media_metadata") %></div>
<% end %>
Expand Down

0 comments on commit 7641da0

Please sign in to comment.