OSDN Git Service

t#29316:up;add full credit
[pettanr/pettanr.git] / app / views / original_pictures / _history_list.html.erb
index 603671a..6688272 100644 (file)
@@ -4,7 +4,7 @@
   <table class="no-border">
     <tr>
       <td>
-        <%= tag(:img, picture.opt_img_tag) -%>
+        <%= link_to(tag(:img, picture.opt_img_tag), picture_path(picture.id)) -%>
       </td>
       <td>
         <%= render picture.credit_template, :picture => picture %>