OSDN Git Service

fix summary
[pettanr/pettanr.git] / app / assets / javascripts / models / picture.js.coffee
index 4fe1f71..c7f0f6d 100644 (file)
@@ -83,8 +83,8 @@ class Pettanr.Picture extends Peta.Content
   credit_icon_view: () ->\r
     new Pettanr.Views.Picture.CreditIcon({item: this})\r
   \r
-  credit_view: () ->\r
-    new Pettanr.Views.Picture.Credit({item: this})\r
+  credit_view: (with_icon = true) ->\r
+    new Pettanr.Views.Picture.Credit({item: this, with_icon: with_icon})\r
   \r
   initialize: () ->\r
     if @id\r