OSDN Git Service

add scroll player
[pettanr/pettanr.git] / app / models / scroll_panel.rb
index 44885a6..12fab0f 100644 (file)
@@ -15,11 +15,9 @@ class ScrollPanel < Peta::Leaf
   end
   
   def overwrite operators
-    return false unless operators.author
-    self.author_id = operators.author.id
   end
   
-  def self.public_list_where
+  def self.public_list_where list
     'scrolls.visible > 0'
   end