#実素材
-class Picture < Pettanr::Content
+class Picture < Peta::Content
belongs_to :original_picture
belongs_to :license
belongs_to :artist
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