OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
index 58fd878..05ce36f 100644 (file)
@@ -1,5 +1,33 @@
 #マニフェスト\r
 @controllers = {\r
+  folders: {\r
+    actions: {\r
+      root: {\r
+        type: 'show',\r
+      },\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      show: {\r
+        type: 'show',\r
+      },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
+    },\r
+  },\r
   scrolls: {\r
     actions: {\r
       index: {\r
@@ -17,6 +45,7 @@
       play: {\r
         type: 'list',\r
         args: {\r
+          item_name: 'scroll_panel',\r
           list_name: 'play',\r
         },\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   scroll_panels: {\r
@@ -58,6 +96,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
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\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
       play: {\r
         type: 'list',\r
         args: {\r
+          item_name: 'story_sheet',\r
           list_name: 'play',\r
         },\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
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   story_sheets: {\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
       play: {\r
         type: 'list',\r
         args: {\r
+          item_name: 'sheet_panel',\r
           list_name: 'play',\r
         },\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
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   speech_balloons: {\r
       by_author: {\r
         type: 'list',\r
       },\r
+      by_speech_balloon_template: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      count_by_speech_balloon_template: {\r
+        type: 'count',\r
+      },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   speeches: {\r
       count_by_writing_format: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   balloons: {\r
           list_name: 'public',\r
         },\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   ground_pictures: {\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   ground_colors: {\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   original_pictures: {\r
       show: {\r
         type: 'show',\r
       },\r
+      history: {\r
+        type: 'show',\r
+      },\r
       count: {\r
         type: 'count',\r
         args: {\r
           list_name: 'public',\r
         },\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   pictures: {\r
     actions: {\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          list_name: 'public',\r
+          \r
+        },\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           \r
         },\r
       },\r
+      by_panel: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_panel: {\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