OSDN Git Service

add: resource_picture_pictures
[pettanr/pettanr.git] / app / assets / javascripts / models / artist.js.coffee
index 4c8c80f..af7a2ff 100644 (file)
@@ -17,7 +17,8 @@ class Pettanr.Artist extends Peta.Owner
   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: () ->\r
+  initialize: (attr = {}, options = {}) ->\r
+    super(attr, options)\r
     if @id\r
       @url = @url + @id\r
   \r