OSDN Git Service

fix play
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / list_groups.js.coffee.erb
index 8cf7750..54b73aa 100644 (file)
@@ -1,5 +1,12 @@
 #マニフェスト\r
 @list_groups = {\r
+  folder: {\r
+    lists: {\r
+      public: {\r
+        type: 'public',\r
+      },\r
+    },\r
+  },\r
   scroll: {\r
     lists: {\r
       public: {\r
           through: 'scroll_panels',\r
         },\r
       },\r
-      play: {\r
-        type: 'play',\r
-        args: {\r
-          filter_item_name: 'scroll',\r
-          filter_model_name: 'scroll_panel',\r
-          filter_key: 'scroll_id',\r
-        },\r
-      },\r
     },\r
   },\r
   scroll_panel: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
       private: {\r
         type: 'private',\r
       },\r
+      play: {\r
+        type: 'play',\r
+        args: {\r
+          filter_item_name: 'scroll',\r
+          filter_model_name: 'scroll_panel',\r
+          filter_key: 'scroll_id',\r
+        },\r
+      },\r
       by_scroll: {\r
         type: 'filter',\r
       },\r
@@ -66,7 +72,6 @@
     },\r
   },\r
   story: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
     },\r
   },\r
   story_sheet: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
       by_author: {\r
         type: 'filter',\r
       },\r
-      play: {\r
-        type: 'play',\r
-      },\r
     },\r
   },\r
   sheet_panel: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
       private: {\r
         type: 'private',\r
       },\r
+      play: {\r
+        type: 'play',\r
+        args: {\r
+          filter_item_name: 'sheet',\r
+          filter_model_name: 'sheet_panel',\r
+          filter_key: 'sheet_id',\r
+        },\r
+      },\r
       by_sheet: {\r
         type: 'filter',\r
       },\r
     },\r
   },\r
   panel_picture: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
     },\r
   },\r
   speech_balloon: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
     },\r
   },\r
   speech: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
     },\r
   },\r
   balloon: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
     },\r
   },\r
   ground_picture: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
     },\r
   },\r
   ground_color: {\r
-    tree_name: 'owner',\r
     lists: {\r
       public: {\r
         type: 'public',\r
     },\r
   },\r
   picture: {\r
+    lists: {\r
+      public: {\r
+        type: 'public',\r
+      },\r
+    },\r
   },\r
   resource_picture: {\r
     lists: {\r