OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / assets / javascripts / models / writing_format.js.coffee
index b18f877..b6e60f0 100644 (file)
@@ -10,14 +10,10 @@ class Pettanr.WritingFormat extends Peta.Template
     id: null\r
   } \r
   \r
-  system_picture: () ->\r
-    new Pettanr.Cache.Retriever(Pettanr.SystemPicture, @get('system_picture_id'))\r
-  \r
-  symbol_option: () ->\r
-    @get_parent('system_picture', this, {\r
-      success: (system_picture) => \r
-        @trigger('ready:symbol', system_picture.tmb_opt_img_tag())\r
-    })\r
+  @trace_routes: () ->\r
+    {\r
+      symbol: ['system_picture']\r
+    }\r
   \r
   initialize: (attr = {}, options = {}) ->\r
     super(attr, options)\r