OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / scroll_panels / index.html.erb
index 7b61ab8..74213ff 100644 (file)
@@ -1,8 +1,8 @@
 <h1><%= t '.title' -%></h1>
 <table>
-  <% @stories.each do |story| %>
-    <%= render 'list_item', :story => story, :author => @author %>
+  <% @scroll_panels.each do |scroll_panel| %>
+    <%= render '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 %>