OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / assets / javascripts / models / author.js.coffee
index 2db7564..5a92917 100644 (file)
@@ -1,4 +1,5 @@
 class Pettanr.Author extends Peta.Owner\r
+  \r
   @singular: () ->\r
     'Author'\r
   \r
@@ -10,6 +11,8 @@ class Pettanr.Author extends Peta.Owner
     name: 'no name'\r
   } \r
   \r
-  initialize: () ->\r
+  overwrite: (options) ->\r
+  \r
+  initialize: (attr = {}, options = {}) ->\r
+    super(attr, options)\r
   \r
-\r