From e6e9c84a7c7745488e2a0bcace5b315ac53af180 Mon Sep 17 00:00:00 2001 From: aignatov-bio Date: Thu, 3 Dec 2020 12:58:54 +0100 Subject: [PATCH] Fix asset link partial in item card --- app/views/repositories/_repository_row_info_modal.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/repositories/_repository_row_info_modal.html.erb b/app/views/repositories/_repository_row_info_modal.html.erb index 860cf6d59..2b3597148 100644 --- a/app/views/repositories/_repository_row_info_modal.html.erb +++ b/app/views/repositories/_repository_row_info_modal.html.erb @@ -31,7 +31,7 @@ <%= t 'repository_row.modal_info.column_name', cf: repository_cell.repository_column.name %> <% if repository_cell.value_type == 'RepositoryAssetValue' %> - <%= render partial: 'shared/asset_link', locals: { asset: repository_cell.value.asset, display_image_tag: false }, formats: :html %> + <%= render partial: 'assets/asset_link', locals: { asset: repository_cell.value.asset, display_image_tag: false }, formats: :html %> <% else %> <%= custom_auto_link(repository_cell.value.formatted, simple_format: false, team: current_team) %> <% end %>