OSDN Git Service

fix: bin tool
[pettanr/pettanr.git] / app / views / original_pictures / show.html.erb
index 1b04b80..01e285a 100644 (file)
@@ -4,7 +4,7 @@
   <%= link_to icon_tag('Prof'), original_picture_path(@item, :format => :prof) %>
 </h1>
 
-<%= render 'exist', :pictures => Picture.list_by_md5(@item.md5, @item.id) %>
+<%= render 'exist', :pictures => Picture.find_by_md5_without_original_picture(@item.md5, @item.id) %>
 <p id="notice"><%= notice %></p>
 
 <table class="no-border">