OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix anything
[pettanr/pettanr.git]
/
app
/
models
/
ground_color.rb
diff --git
a/app/models/ground_color.rb
b/app/models/ground_color.rb
index
e750723
..
cb16e67
100644
(file)
--- a/
app/models/ground_color.rb
+++ b/
app/models/ground_color.rb
@@
-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