app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb in decidim-assemblies-0.24.3 vs app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb in decidim-assemblies-0.25.0.rc1
- old
+ new
@@ -11,10 +11,10 @@
<% end %>
</div>
</div>
<div class="columns mediumlarge-8 large-6 card--process__column">
<div class="card--full__image"
- style="background-image:url(<%= promoted_assembly.hero_image.url %>)">
+ style="background-image:url(<%= promoted_assembly.attached_uploader(:hero_image).path %>)">
<div class="card__content row collapse">
<div class="large-6 large-offset-6 columns">
<%= link_to assembly_path(promoted_assembly), class: "button expanded button--sc" do %>
<%= t(promoted_assembly.cta_button_text_key, scope: "layouts.decidim.assemblies.promoted_assembly") %>
<% end %>