OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix anything
[pettanr/pettanr.git]
/
app
/
models
/
story.rb
diff --git
a/app/models/story.rb
b/app/models/story.rb
index
b93cb78
..
2d09d53
100644
(file)
--- a/
app/models/story.rb
+++ b/
app/models/story.rb
@@
-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