diff --git a/app/cells/decidim/accountability/result_m_cell.rb b/app/cells/decidim/accountability/result_m_cell.rb index c1430a0..19a07c9 100644 --- a/app/cells/decidim/accountability/result_m_cell.rb +++ b/app/cells/decidim/accountability/result_m_cell.rb @@ -78,7 +78,7 @@ def has_category? def resource_image_path return unless has_image? - model.attached_uploader(:list_image).path + model.attached_uploader(:list_image).url end def status_label @@ -214,7 +214,7 @@ def category_icon full_category << translated_attribute(cat.name) content_tag(:span, class: "card__category__icon", "aria-hidden": true) do - image_tag(cat.attached_uploader(:category_icon).path, alt: full_category.join(" - ")) + image_tag(cat.attached_uploader(:category_icon).url, alt: full_category.join(" - ")) end end diff --git a/app/views/decidim/accountability/results/_show_parent.html.erb b/app/views/decidim/accountability/results/_show_parent.html.erb index c674bf6..9498151 100644 --- a/app/views/decidim/accountability/results/_show_parent.html.erb +++ b/app/views/decidim/accountability/results/_show_parent.html.erb @@ -17,7 +17,7 @@ root_result = root_result.parent while root_result.parent