OSDN Git Service

iroiro
[pettanr/pettanr.git] / app / models / comic.rb
index ab882cf..2411318 100644 (file)
@@ -11,4 +11,8 @@ class Comic < ActiveRecord::Base
     editable == 1 ? 'O' : 'X'
   end
   
+  def disp_visible
+    visible == 1 ? 'O' : 'X'
+  end
+  
 end