OSDN Git Service

fix filer
[pettanr/pettanr.git] / app / assets / javascripts / work / controllers.js.coffee.erb
index dfa0802..45da9b9 100644 (file)
@@ -1,6 +1,7 @@
 #マニフェスト\r
 @controllers = {\r
   folders: {\r
+    item_name: 'folder',\r
     actions: {\r
       root: {\r
         type: 'show',\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
+          param_id: 'none',\r
         },\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
+      watch: {\r
+        type: 'show',\r
+      },\r
       count: {\r
         type: 'count',\r
         args: {\r
     },\r
   },\r
   scrolls: {\r
+    item_name: 'scroll',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
+          param_id: 'none',\r
         },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       play: {\r
         type: 'list',\r
     },\r
   },\r
   scroll_panels: {\r
+    item_name: 'scroll_panel',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_scroll: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   comics: {\r
+    item_name: 'comic',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_story: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       play: {\r
         type: 'list',\r
     },\r
   },\r
   comic_stories: {\r
+    item_name: 'comic_story',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_comic: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_story: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   stories: {\r
+    item_name: 'story',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_comic: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_sheet: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       play: {\r
         type: 'list',\r
     },\r
   },\r
   story_sheets: {\r
+    item_name: 'story_sheet',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_story: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_sheet: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   sheets: {\r
+    item_name: 'sheet',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_story: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       play: {\r
         type: 'list',\r
     },\r
   },\r
   sheet_panels: {\r
+    item_name: 'sheet_panel',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_sheet: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   panels: {\r
+    item_name: 'panel',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_scroll: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_sheet: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_speech_balloon_template: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   panel_pictures: {\r
+    item_name: 'panel_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   speech_balloons: {\r
+    item_name: 'speech_balloon',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_speech_balloon_template: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   speeches: {\r
+    item_name: 'speech',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   balloons: {\r
+    item_name: 'balloon',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   ground_pictures: {\r
+    item_name: 'ground_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   ground_colors: {\r
+    item_name: 'ground_color',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   original_pictures: {\r
+    item_name: 'original_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'private',\r
+          param_id: 'none',\r
         },\r
       },\r
       show: {\r
       count: {\r
         type: 'count',\r
         args: {\r
-          list_name: 'public',\r
+          list_name: 'private',\r
         },\r
       },\r
       new: {\r
     },\r
   },\r
   pictures: {\r
+    item_name: 'picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_artist: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   resource_pictures: {\r
+    item_name: 'resource_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_license_group: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_license: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_artist: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   speech_balloon_templates: {\r
+    item_name: 'speech_balloon_template',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   writing_formats: {\r
+    item_name: 'writing_format',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_system_picture: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   license_groups: {\r
+    item_name: 'license_group',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       show: {\r
     },\r
   },\r
   licenses: {\r
+    item_name: 'license',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       by_license_group: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       by_system_picture: {\r
         type: 'list',\r
+        args: {\r
+          param_id: 'suffix',\r
+        },\r
       },\r
       show: {\r
         type: 'show',\r
     },\r
   },\r
   authors: {\r
+    item_name: 'author',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       show: {\r
     },\r
   },\r
   artists: {\r
+    item_name: 'artist',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       show: {\r
     },\r
   },\r
   system_pictures: {\r
+    item_name: 'system_picture',\r
     actions: {\r
       index: {\r
         type: 'list',\r
         args: {\r
           list_name: 'public',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       show: {\r
         args: {\r
           item_name: 'scroll',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       scroll_panels: {\r
         args: {\r
           item_name: 'scroll_panel',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       comics: {\r
         args: {\r
           item_name: 'comic',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       stories: {\r
         args: {\r
           item_name: 'story',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       story_sheets: {\r
         args: {\r
           item_name: 'story_sheet',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       sheets: {\r
         args: {\r
           item_name: 'sheet',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       sheet_panels: {\r
         args: {\r
           item_name: 'sheet_panel',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       panels: {\r
         args: {\r
           item_name: 'panel',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       panel_pictures: {\r
         args: {\r
           item_name: 'panel_picture',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       speech_balloons: {\r
         args: {\r
           item_name: 'speech_balloon',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       speeches: {\r
         args: {\r
           item_name: 'speech',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       balloons: {\r
         args: {\r
           item_name: 'balloon',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       ground_pictures: {\r
         args: {\r
           item_name: 'ground_picture',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       ground_colors: {\r
         args: {\r
           item_name: 'ground_color',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       original_pictures: {\r
         args: {\r
           item_name: 'original_picture',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
       resource_pictures: {\r
         args: {\r
           item_name: 'resource_picture',\r
           list_name: 'private',\r
-          \r
+          param_id: 'none',\r
         },\r
       },\r
     },\r