Commit 8f633a81 authored by Daniela Feitosa's avatar Daniela Feitosa
Browse files

Merge branch 'softwarepublico/noosfero-fix_gallery_image_url'

Closes merge request !659
parents 1e0cc2a4 cd3b5fda
......@@ -2,7 +2,7 @@
<%= link_to '',
uploaded_file.view_url,
:class => 'image',
:style => 'background-image: url(%s)'% uploaded_file.public_filename(:thumb)
:style => 'background-image: url(%s)'% [Noosfero.root, uploaded_file.public_filename(:thumb)].join
%>
<span><%=h uploaded_file.title %></span>
<% else %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment