diff --git a/app/views/blocks/highlights.html.erb b/app/views/blocks/highlights.html.erb index e330180..8ae96ff 100644 --- a/app/views/blocks/highlights.html.erb +++ b/app/views/blocks/highlights.html.erb @@ -4,7 +4,7 @@
<% block.featured_images.each do |img| %> - <%= content_tag :img, nil, :src => image_source(img[:image_src]), :alt => img[:title] %> + <%= image_tag [Noosfero.root, img[:image_src]].join, alt: img[:title] %>

<%= img[:title] %>

<% end %> -- libgit2 0.21.2