aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/pdfresources
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/pdfresources')
-rw-r--r--app/views/pdfresources/_pdfresource.html.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/pdfresources/_pdfresource.html.erb b/app/views/pdfresources/_pdfresource.html.erb
index 3c8b3a8..12b2b58 100644
--- a/app/views/pdfresources/_pdfresource.html.erb
+++ b/app/views/pdfresources/_pdfresource.html.erb
@@ -32,7 +32,10 @@
<div class="my-5">
<strong class="block font-medium mb-1">Snapshots:</strong>
<% pdfresource.pdf_snapshots.each do |image| %>
- <div><%= link_to image.filename, image %></div>
+ <div>
+ <%= image_tag url_for(image) %>
+ <%= link_to image.filename, image %>
+ </div>
<% end %>
</div>