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 summary
[pettanr/pettanr.git]
/
app
/
assets
/
javascripts
/
models
/
story.js.coffee
diff --git
a/app/assets/javascripts/models/story.js.coffee
b/app/assets/javascripts/models/story.js.coffee
index
4d17170
..
625cec7
100644
(file)
--- a/
app/assets/javascripts/models/story.js.coffee
+++ b/
app/assets/javascripts/models/story.js.coffee
@@
-13,6
+13,9
@@
class Pettanr.Story extends Peta.Binder
author_id: null
\r
}
\r
\r
+ author: () ->
\r
+ new Pettanr.Author({id: @get('author_id')})
\r
+
\r
is_visible: (operators) ->
\r
switch super(operators)
\r
when null
\r