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
change: cache system
[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
6d5482f
..
8427cd3
100644
(file)
--- a/
app/assets/javascripts/models/story.js.coffee
+++ b/
app/assets/javascripts/models/story.js.coffee
@@
-14,7
+14,7
@@
class Pettanr.Story extends Peta.Binder
}
\r
\r
author: () ->
\r
- new Pettanr.
Author({id: @get('author_id')}
)
\r
+ new Pettanr.
Cache.Retriever(Pettanr.Author, @get('author_id')
)
\r
\r
overwrite: (options) ->
\r
operators = options.operators
\r