OSDN Git Service

t#:
[pettanr/pettanr.git] / app / models / picture.rb
index 5aeeee3..89b95fb 100644 (file)
@@ -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