OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / ground_picture.js.coffee
index 276ffc3..77d074f 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.GroundPicture extends Peta.Element\r
-  url: '/ground_pictures/'\r
   \r
   @singular: () ->\r
     'GroundPicture'\r
@@ -60,8 +59,6 @@ class Pettanr.GroundPicture extends Peta.Element
   \r
   initialize: (attr, options) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r
 class Pettanr.GroundPicture.TraceFromPicture\r
   \r