OSDN Git Service

v07
[pettanr/pettanr.git] / app / assets / javascripts / models / comic.js.coffee
index beb41f2..de9689b 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.Comic extends Peta.Binder\r
-  url: '/comics/'\r
   \r
   @singular: () ->\r
     'Comic'\r
@@ -13,9 +12,6 @@ class Pettanr.Comic extends Peta.Binder
     author_id: null\r
   } \r
   \r
-  author: () ->\r
-    new Pettanr.Cache.Retriever(Pettanr.Author, @get('author_id'))\r
-  \r
   is_visible: (operators = Pettanr.cache.operators) ->\r
     switch super(operators)\r
       when null\r
@@ -34,6 +30,4 @@ class Pettanr.Comic extends Peta.Binder
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r