OSDN Git Service

change page status
[pettanr/pettanr.git] / app / assets / javascripts / models / license_group.js.coffee
index f0d70f9..75980bf 100644 (file)
@@ -1,4 +1,6 @@
 class Pettanr.LicenseGroup extends Peta.Template\r
+  url: '/license_groups/'\r
+  \r
   @singular: () ->\r
     'LicenseGroup'\r
   \r
@@ -13,6 +15,3 @@ class Pettanr.LicenseGroup extends Peta.Template
     if @id\r
       @url = @url + @id\r
   \r
-class Pettanr.LicenseGroup.Collection extends Backbone.Collection\r
-  model: Pettanr.LicenseGroup\r
-  url: '/license_groups'\r