OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / assets / javascripts / models / comic_story.js.coffee
index ae1c2ef..85a223b 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.ComicStory extends Peta.Leaf\r
-  url: '/comic_stories/'\r
   \r
   @singular: () ->\r
     'ComicStory'\r
@@ -14,12 +13,6 @@ class Pettanr.ComicStory extends Peta.Leaf
     t: null\r
   } \r
   \r
-  comic: () ->\r
-    new Pettanr.Comic({id: @get('comic_id')})\r
-  \r
-  story: () ->\r
-    new Pettanr.Story({id: @get('story_id')})\r
-  \r
   has_story: () ->\r
     if @get('story_id')\r
       true\r
@@ -37,6 +30,4 @@ class Pettanr.ComicStory extends Peta.Leaf
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r