OSDN Git Service

t#29505:md5 search wrote test on picture
[pettanr/pettanr.git] / app / views / original_pictures / _history_list.html.erb
index 8fd4c22..dfd0a52 100644 (file)
@@ -1,6 +1,6 @@
 <% history.each do |picture| -%>
   <h3>revision:<%= picture.revision %></h3>
   <div>licensed at <%= picture.created_at %></div>
-  <img src="<%= picture.url -%>">
+  <%= tag(:img, picture.opt_img_tag) -%>
   <%= render picture.credit_template, :picture => picture %>
 <% end -%>