OSDN Git Service

fix anything
[pettanr/pettanr.git] / app / models / story.rb
index b93cb78..2d09d53 100644 (file)
@@ -39,7 +39,7 @@ class Story < Peta::Binder
     StorySheet.where(['story_sheets.story_id = ?', self.id]).count
   end
   
-  def self.list_where
+  def self.public_list_where
     'stories.visible > 0'
   end