OSDN Git Service

fix picture io:
[pettanr/pettanr.git] / app / views / original_pictures / show.html.erb
index 01e285a..139e05d 100644 (file)
@@ -89,7 +89,7 @@
       <h1>
         <%= t 'original_pictures.show.history' %>
       </h1>
-      <%= render 'history_list', :history => @item.history %>
+      <%= render 'history_list', :history => OriginalPicture.find_history(@item.id) %>
     </td>
   </tr>
 </table>