OSDN Git Service

change: cache system
[pettanr/pettanr.git] / app / assets / javascripts / models / scroll.js.coffee
index c312605..9f39baa 100644 (file)
@@ -13,7 +13,7 @@ class Pettanr.Scroll 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