OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / ground_color.js.coffee
index eff2800..129c91b 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.GroundColor extends Peta.Element\r
-  url: '/ground_colors/'\r
   \r
   @singular: () ->\r
     'GroundColor'\r
@@ -37,6 +36,4 @@ class Pettanr.GroundColor extends Peta.Element
   \r
   initialize: (attr, options) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r