Skip to content

Commit

Permalink
Merge pull request #2169 from manyfold3d/fix-collection-error
Browse files Browse the repository at this point in the history
Fix incorrect collection translation usage
  • Loading branch information
Floppy authored May 12, 2024
2 parents 5f2d2f1 + b8c130d commit 910e51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/collections/_collection.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="card-title"><%= collection.name.titleize %></div>
<div class="col-auto">
<% if collection.collection %>
<%= icon "collection", t("activerecord.models.collection") %>
<%= icon "collection", collection.model_name.human %>
<%= link_to collection.collection.name, (@filters || {}).merge(collection: collection.collection.id) %><br>
<% end %>
<% if collection.caption %>
Expand Down

0 comments on commit 910e51e

Please sign in to comment.