OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / comic.js.coffee
index beb41f2..70f5c57 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.Comic extends Peta.Binder\r
-  url: '/comics/'\r
   \r
   @singular: () ->\r
     'Comic'\r
@@ -34,6 +33,4 @@ class Pettanr.Comic extends Peta.Binder
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r