Commit 8f633a817b4686404a469748a0e4edeea472e0c0
Exists in
fix_cloned_article_parent
and in
1 other branch
Merge branch 'softwarepublico/noosfero-fix_gallery_image_url'
Closes merge request !659
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/content_viewer/_uploaded_file.html.erb
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | <%= link_to '', |
| 3 | 3 | uploaded_file.view_url, |
| 4 | 4 | :class => 'image', |
| 5 | - :style => 'background-image: url(%s)'% uploaded_file.public_filename(:thumb) | |
| 5 | + :style => 'background-image: url(%s)'% [Noosfero.root, uploaded_file.public_filename(:thumb)].join | |
| 6 | 6 | %> |
| 7 | 7 | <span><%=h uploaded_file.title %></span> |
| 8 | 8 | <% else %> | ... | ... |