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
test speech balloon extended
[pettanr/pettanr.git]
/
app
/
models
/
sheet_panel.rb
diff --git
a/app/models/sheet_panel.rb
b/app/models/sheet_panel.rb
index
1561234
..
f47f192
100644
(file)
--- a/
app/models/sheet_panel.rb
+++ b/
app/models/sheet_panel.rb
@@
-32,12
+32,7
@@
class SheetPanel < Peta::Element
self.author_id = operators.author.id
end
- def visible? operators
- return false unless super
- self.owner_model.visible? operators
- end
-
- def self.list_where
+ def self.public_list_where
'sheets.visible > 0'
end