app/cells/decidim/consultations/consultation_m_cell.rb in decidim-consultations-0.24.3 vs app/cells/decidim/consultations/consultation_m_cell.rb in decidim-consultations-0.25.0.rc1
- old
+ new
@@ -42,10 +42,10 @@
def resource_path
Decidim::Consultations::Engine.routes.url_helpers.consultation_path(model)
end
def resource_image_path
- model.banner_image.url
+ model.attached_uploader(:banner_image).path
end
def has_image?
true
end