OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / balloon.js.coffee
index acfae1f..d4a5040 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.Balloon extends Peta.Element\r
-  url: '/balloons/'\r
   \r
   @singular: () ->\r
     'Balloon'\r
@@ -53,6 +52,4 @@ class Pettanr.Balloon extends Peta.Element
   \r
   initialize: (attr, options) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r