OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / home / scroll_panels.html.erb
index a99f490..3d75a57 100644 (file)
@@ -1,9 +1,9 @@
 <h1><%= t '.title' -%></h1>
 
 <table>
-  <% @stories.each do |story| %>
-    <%= render 'stories/list_item', :story => story, :author => @author %>
+  <% @scroll_panels.each do |scroll_panel| %>
+    <%= render 'scroll_panels/list_item', :scroll_panel => scroll_panel, :author => @author %>
   <% end %>
 </table>
 <%= paginate(@paginate) %>
-<%= link_to t('stories.new.title'), new_story_path %>
+<%= link_to t('scroll_panels.new.title'), new_scroll_panel_path %>