app/views/decidim/conferences/admin/partners/index.html.erb in decidim-conferences-0.29.0.rc3 vs app/views/decidim/conferences/admin/partners/index.html.erb in decidim-conferences-0.29.0.rc4

- old
+ new

@@ -33,11 +33,11 @@ <% if partner.link.presence %> <%= link_to partner.link, partner.link, target: "_blank" %> <% end %> </td> <td> - <% if partner.attached_uploader(:logo).path %> - <%= image_tag(partner.attached_uploader(:logo).path(variant: :thumb)) %> + <% if partner.logo.attached? %> + <%= image_tag(partner.attached_uploader(:logo).variant_url(:thumb)) %> <% end %> </td> <td class="table-list__actions"> <% if allowed_to? :update, :partner, partner: partner %> <%= icon_link_to "pencil-line", edit_conference_partner_path(current_conference, partner), t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit" %>