OSDN Git Service

fix: show's destroy button
[pettanr/pettanr.git] / app / assets / javascripts / models / license_group.js.coffee
index f5d5531..af8693a 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.LicenseGroup extends Peta.Template\r
-  url: '/license_groups/'\r
   \r
   @singular: () ->\r
     'LicenseGroup'\r
@@ -13,6 +12,4 @@ class Pettanr.LicenseGroup extends Peta.Template
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r