OSDN Git Service

add comic story
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
index 0fd0c17..f8b16d6 100644 (file)
           \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