OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / views / scroll_panels / _append_scroll.html.erb
index 1813b38..92be36c 100644 (file)
@@ -12,7 +12,7 @@
     <%= link_to h(truncate(scroll.author.name, :length => 12)), author_path(scroll.author) %>
   </td>
   <td>
-    <% if scroll.own? author %>
+    <% if scroll.own? operators %>
       <% @scroll_panel = ScrollPanel.new :scroll_id => scroll.id, :panel_id => panel.id %>
       <%= form_for(@scroll_panel) do |f| %>
         <%= f.hidden_field :scroll_id %>