OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / scroll.js.coffee
index 2bfb905..a316607 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.Scroll extends Peta.Binder\r
-  url: '/scrolls/'\r
   \r
   @singular: () ->\r
     'Scroll'\r
@@ -22,6 +21,4 @@ class Pettanr.Scroll extends Peta.Binder
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r