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
t#:
[pettanr/pettanr.git]
/
app
/
models
/
picture.rb
diff --git
a/app/models/picture.rb
b/app/models/picture.rb
index
5aeeee3
..
89b95fb
100644
(file)
--- a/
app/models/picture.rb
+++ b/
app/models/picture.rb
@@
-41,9
+41,9
@@
class Picture < Pettanr::Content
return true
end
- def showable?
au
= nil
+ def showable?
operators
= nil
return false unless self.original_picture
- return true if self.own?(
au
)
+ return true if self.own?(
operators
)
self.enable? and self.head?
end