OSDN Git Service

t#32046:
[pettanr/pettanr.git] / app / views / comics / _list_item.html.erb
index 2e9d719..059b727 100644 (file)
@@ -1,14 +1,14 @@
 <tr>
   <td>
     <%= link_to comic_icon(:object => comic, :size => 25), comic_path(comic) %>
-    <%= link_to h(truncate(comic.title, :length => 40)), :controller => 'stories', :action => :comic, :id => comic.id %>
+    <%= link_to h(truncate(comic.title, :length => 40)), comic_path(comic) %>
     (<%= comic.stories.size -%>)
   </td>
   <td>
     <%= distance_of_time_in_words_to_now comic.updated_at %>
   </td>
   <td>
-    <%= link_to author_icon(:object => comic.author, :size => 25), comic_path(comic.author) %>
+    <%= link_to author_icon(:object => comic.author, :size => 25), author_path(comic.author) %>
     <%= link_to h(truncate(comic.author.name, :length => 12)), author_path(comic.author) %>
   </td>
   <td>