OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / sheet.js.coffee
index 240d5d3..a25518a 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.Sheet extends Peta.Root\r
-  url: '/sheets/'\r
   \r
   @singular: () ->\r
     'Sheet'\r
@@ -32,6 +31,4 @@ class Pettanr.Sheet extends Peta.Root
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r