OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / comic_story.js.coffee
index 4f65836..e441d26 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.ComicStory extends Peta.Leaf\r
-  url: '/comic_stories/'\r
   \r
   @singular: () ->\r
     'ComicStory'\r
@@ -37,6 +36,4 @@ class Pettanr.ComicStory extends Peta.Leaf
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r