OSDN Git Service

fix filer
[pettanr/pettanr.git] / app / assets / javascripts / models / picture.js.coffee
index ed592ff..2af7542 100644 (file)
@@ -1,4 +1,6 @@
 class Pettanr.Picture extends Peta.Content\r
+  url: '/pictures/'\r
+  \r
   @singular: () ->\r
     'Picture'\r
   \r
@@ -44,7 +46,7 @@ class Pettanr.Picture extends Peta.Content
     lgn + '[' + ln + ']'\r
   \r
   symbol_option: () ->\r
-    @tmb_opt_img_tag()\r
+    this\r
   \r
   is_enable: () ->\r
     if @head().resource_picture()\r