OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / story_sheet.js.coffee
index eae6b43..6d367f0 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.StorySheet extends Peta.Leaf\r
-  url: '/story_sheets/'\r
   \r
   @singular: () ->\r
     'StorySheet'\r
@@ -28,6 +27,4 @@ class Pettanr.StorySheet extends Peta.Leaf
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r