OSDN Git Service

fix read permission for element
[pettanr/pettanr.git] / app / models / scroll_panel.rb
index 3b8b76c..8dab5bb 100644 (file)
@@ -20,11 +20,6 @@ class ScrollPanel < Peta::Leaf
     self.author_id = operators.author.id
   end
   
-  def visible? operators
-    return false unless super
-    self.owner_model.visible? operators
-  end
-  
   def self.list_order
     'scroll_panels.updated_at desc'
   end