OSDN Git Service

fix anything
[pettanr/pettanr.git] / app / models / ground_color.rb
index e750723..cb16e67 100644 (file)
@@ -54,11 +54,6 @@ class GroundColor < Peta::Element
     self.panel_id = pid
   end
   
-  def visible? operators
-    return false unless super
-    self.owner_model.visible? operators
-  end
-  
   def div_offset
     xy ? xy : 0
   end
@@ -110,7 +105,7 @@ class GroundColor < Peta::Element
     r
   end
   
-  def self.list_where
+  def self.public_list_where
     'panels.publish > 0'
   end