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
work
[pettanr/pettanr.git]
/
app
/
models
/
panel.rb
diff --git
a/app/models/panel.rb
b/app/models/panel.rb
index
11ac112
..
3acafc8
100644
(file)
--- a/
app/models/panel.rb
+++ b/
app/models/panel.rb
@@
-54,7
+54,7
@@
class Panel < Pettanr::Content
end
def visible? operators
- return
false unless
super
+ return
true if
super
return true if self.new_record?
self.publish?
end