OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / assets / javascripts / models / artist.js.coffee
index af7a2ff..027b4a7 100644 (file)
@@ -1,5 +1,4 @@
 class Pettanr.Artist extends Peta.Owner\r
-  url: '/artists/'\r
   \r
   @singular: () ->\r
     'Artist'\r
@@ -14,11 +13,6 @@ class Pettanr.Artist extends Peta.Owner
   \r
   overwrite: (options) ->\r
   \r
-  icon_with_caption_view: (half = true, column_name = 'name', length = 12) ->\r
-    new Pettanr.Views.Common.IconWithCaption({item: this, half: half, column_name: column_name, length: length})\r
-  \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r
-    if @id\r
-      @url = @url + @id\r
   \r