OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / assets / javascripts / models / ground_color.js.coffee
index eff2800..381f219 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.GroundColor extends Peta.Element\r
-  url: '/ground_colors/'\r
   \r
   @singular: () ->\r
     'GroundColor'\r
@@ -29,14 +28,9 @@ class Pettanr.GroundColor extends Peta.Element
   @pick_item_name: () ->\r
     ''\r
   \r
-  panel: () ->\r
-    new Pettanr.Cache.Retriever(Pettanr.Panel, @get('panel_id'))\r
-  \r
   element_face: () ->\r
     new Pettanr.Views.GroundColor.ElementFace({element: this})\r
   \r
   initialize: (attr, options) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r