OSDN Git Service

fix: editor
[pettanr/pettanr.git] / app / models / original_picture.rb
index 759da1d..20ec95b 100644 (file)
@@ -50,6 +50,10 @@ class OriginalPicture < Peta::Content
     self.tmb_opt_img_tag
   end
   
+  def filer_caption
+    self.revision
+  end
+  
   def revision
     head = self.history.first
     head ? head.revision : 'unpublished'