OSDN Git Service

t#32046:
[pettanr/pettanr.git] / app / views / stories / _list_item.html.erb
index 1b18f0f..ffc557c 100644 (file)
@@ -3,7 +3,7 @@
       <%= link_to comic_icon(:object => story.comic, :size => 25), comic_path(story.comic) %>
     </td>
     <td>
-      <%= link_to h(story.comic.title), :controller => 'stories', :action => :comic, :id => story.comic.id %>
+      <%= link_to h(story.comic.title), comic_path(story.comic) %>
     </td>
     <td>
       <%= link_to author_icon(:object => story.comic.author, :size => 17), author_path(story.comic.author) %>
@@ -12,6 +12,9 @@
       <%= link_to story_icon(:object => story, :size => 25), story_path(story) %>
     </td>
     <td>
+      <%= link_to h(story.title), play_story_path(story) %>
+    </td>
+    <td>
       <%= link_to author_icon(:object => story.author, :size => 17), author_path(story.author) %>
     </td>
     <td>
@@ -20,9 +23,4 @@
     <td>
       <%= l story.updated_at %>
     </td>
-    <td>
-      <% if story.panel %>
-        <%= h story.panel.caption %>
-      <% end %>
-    </td>
   </tr>