OSDN Git Service

add comic story
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
index 026c832..f8b16d6 100644 (file)
@@ -87,6 +87,9 @@
       by_scroll: {\r
         type: 'list',\r
       },\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_scroll: {\r
         type: 'count',\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
           \r
         },\r
       },\r
+      by_story: {\r
+        type: 'list',\r
+      },\r
       by_author: {\r
         type: 'list',\r
       },\r
+      play: {\r
+        type: 'list',\r
+        args: {\r
+          item_name: 'comic_story',\r
+          list_name: 'play',\r
+        },\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_story: {\r
+        type: 'count',\r
+      },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
+    },\r
+  },\r
+  comic_stories: {\r
+    actions: {\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          list_name: 'public',\r
+          \r
+        },\r
+      },\r
+      by_comic: {\r
+        type: 'list',\r
+      },\r
+      by_story: {\r
+        type: 'list',\r
+      },\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
+      show: {\r
+        type: 'show',\r
+      },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      count_by_comic: {\r
+        type: 'count',\r
+      },\r
+      count_by_story: {\r
+        type: 'count',\r
+      },\r
       count_by_author: {\r
         type: 'count',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
-      by_comic: {\r
+      count_by_comic: {\r
         type: 'count',\r
       },\r
-      by_sheet: {\r
+      count_by_sheet: {\r
         type: 'count',\r
       },\r
       count_by_author: {\r
       by_sheet: {\r
         type: 'list',\r
       },\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_sheet: {\r
         type: 'count',\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
       by_panel: {\r
         type: 'list',\r
       },\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_panel: {\r
         type: 'count',\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
           \r
         },\r
       },\r
-      scrolls: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'scrolls',\r
-        },\r
-      },\r
-      comics: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'comics',\r
-        },\r
-      },\r
-      stories: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'stories',\r
-        },\r
-      },\r
-      sheets: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'sheets',\r
-        },\r
-      },\r
-      panels: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'panels',\r
-        },\r
-      },\r
-      panel_pictures: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'panel_pictures',\r
-        },\r
-      },\r
-      speech_balloons: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'speech_balloons',\r
-        },\r
-      },\r
-      ground_pictures: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'ground_pictures',\r
-        },\r
-      },\r
-      ground_colors: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'ground_colors',\r
-        },\r
-      },\r
       show: {\r
         type: 'show',\r
       },\r
           \r
         },\r
       },\r
-      resource_pictures: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'resource_pictures',\r
-        },\r
-      },\r
       show: {\r
         type: 'show',\r
       },\r