app/cells/decidim/assemblies/assembly_g_cell.rb in decidim-assemblies-0.28.4 vs app/cells/decidim/assemblies/assembly_g_cell.rb in decidim-assemblies-0.29.0.rc1
- old
+ new
@@ -9,11 +9,11 @@
def resource_path
Decidim::Assemblies::Engine.routes.url_helpers.assembly_path(model)
end
- def resource_image_url
- model.attached_uploader(:hero_image).url
+ def resource_image_path
+ model.attached_uploader(:hero_image).path
end
def metadata_cell
"decidim/assemblies/assembly_metadata_g"
end