OSDN Git Service

fix filer
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
index 149f731..013fe6c 100644 (file)
@@ -1,6 +1,6 @@
 #マニフェスト\r
 @controllers = {\r
-  scroll: {\r
+  scrolls: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
@@ -8,29 +8,11 @@
           list_name: 'public_list',\r
         },\r
       },\r
-      scroll_panels: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'scroll_panels',\r
-        },\r
-      },\r
-      panels: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'panels',\r
-        },\r
-      },\r
       by_author: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_author',\r
-        },\r
       },\r
       by_panel: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_panel',\r
-        },\r
       },\r
       play: {\r
         type: 'list',\r
         type: 'show',\r
         name: 'show',\r
       },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public_list',\r
+        },\r
+      },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  scroll_panel: {\r
+  scroll_panels: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_panel: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_panel',\r
-        },\r
       },\r
       by_scroll: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_scroll',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
+      count_by_scroll: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  comic: {\r
+  comics: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
-      stories: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'stories',\r
-        },\r
-      },\r
       by_author: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_author',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  story: {\r
+  stories: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
-      story_sheets: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'story_sheets',\r
-        },\r
-      },\r
-      sheets: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'sheets',\r
-        },\r
-      },\r
       by_comic: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_comic',\r
-        },\r
       },\r
       by_sheet: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_sheet',\r
-        },\r
       },\r
       by_author: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_author',\r
-        },\r
       },\r
       play: {\r
         type: 'list',\r
           list_name: 'play',\r
         },\r
       },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public_list',\r
+        },\r
+      },\r
+      by_comic: {\r
+        type: 'count',\r
+      },\r
+      by_sheet: {\r
+        type: 'count',\r
+      },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  story_sheet: {\r
+  story_sheets: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_story: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_story',\r
-        },\r
       },\r
       by_sheet: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_sheet',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_story: {\r
+        type: 'count',\r
+      },\r
+      count_by_sheet: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  sheet: {\r
+  sheets: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
-      story_sheets: {\r
+      by_story: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'story_sheets',\r
-        },\r
       },\r
-      stories: {\r
+      by_panel: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'stories',\r
-        },\r
       },\r
-      sheet_panels: {\r
+      by_author: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'sheet_panels',\r
-        },\r
       },\r
-      panels: {\r
+      play: {\r
         type: 'list',\r
         args: {\r
-          list_name: 'panels',\r
+          list_name: 'play',\r
         },\r
       },\r
-      by_story: {\r
-        type: 'list',\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_story',\r
+          list_name: 'public_list',\r
         },\r
       },\r
-      by_panel: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'by_panel',\r
-        },\r
+      count_by_story: {\r
+        type: 'count',\r
       },\r
-      by_author: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'by_author',\r
-        },\r
+      count_by_panel: {\r
+        type: 'count',\r
       },\r
-      play: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'play',\r
-        },\r
+      count_by_author: {\r
+        type: 'count',\r
       },\r
     },\r
   },\r
-  sheet_panel: {\r
+  sheet_panels: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_sheet: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_sheet',\r
-        },\r
       },\r
       by_panel: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_panel',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_sheet: {\r
+        type: 'count',\r
+      },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  panel: {\r
+  panels: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
-      scroll_panels: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'scroll_panels',\r
-        },\r
-      },\r
-      scrolls: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'scrolls',\r
-        },\r
-      },\r
-      sheet_panels: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'sheet_panels',\r
-        },\r
-      },\r
-      sheets: {\r
+      by_scroll: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'sheets',\r
-        },\r
       },\r
-      panel_pictures: {\r
+      by_sheet: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'panel_pictures',\r
-        },\r
       },\r
-      speech_balloons: {\r
+      by_author: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'speech_balloons',\r
-        },\r
       },\r
-      ground_pictures: {\r
+      by_speech_balloon_template: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'ground_pictures',\r
-        },\r
       },\r
-      ground_colors: {\r
-        type: 'list',\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'ground_colors',\r
+          list_name: 'public_list',\r
         },\r
       },\r
-      by_scroll: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'by_scroll',\r
-        },\r
+      count_by_scroll: {\r
+        type: 'count',\r
       },\r
-      by_sheet: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'by_sheet',\r
-        },\r
+      count_by_sheet: {\r
+        type: 'count',\r
       },\r
-      by_author: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'by_author',\r
-        },\r
+      count_by_author: {\r
+        type: 'count',\r
       },\r
-      by_speech_balloon_template: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'by_speech_balloon_template',\r
-        },\r
+      count_by_speech_balloon_template: {\r
+        type: 'count',\r
       },\r
     },\r
   },\r
-  panel_picture: {\r
+  panel_pictures: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_panel: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_panel',\r
-        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_author',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  speech_balloon: {\r
+  speech_balloons: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_panel: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_panel',\r
-        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_author',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  speech: {\r
+  speeches: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_writing_format: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_writing_format',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_writing_format: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  balloon: {\r
+  balloons: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       #    list_name: 'by_system_picture',\r
       #  },\r
       #},\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public_list',\r
+        },\r
+      },\r
     },\r
   },\r
-  ground_picture: {\r
+  ground_pictures: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_panel: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_panel',\r
-        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_author',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  ground_color: {\r
+  ground_colors: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_panel: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_panel',\r
-        },\r
       },\r
       by_author: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_author',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  original_picture: {\r
+  original_pictures: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public_list',\r
+        },\r
+      },\r
     },\r
   },\r
-  picture: {\r
+  pictures: {\r
   },\r
-  resource_picture: {\r
+  resource_pictures: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
       },\r
       by_license: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_license',\r
-        },\r
       },\r
       by_artist: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_artist',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_license: {\r
+        type: 'count',\r
+      },\r
+      count_by_artist: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  speech_balloon_template: {\r
+  speech_balloon_templates: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
-      speech_balloons: {\r
-        type: 'list',\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'speech_balloons',\r
-        },\r
-      },\r
-      panels: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'panels',\r
+          list_name: 'public_list',\r
         },\r
       },\r
     },\r
   },\r
-  writing_format: {\r
+  writing_formats: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
-      speeches: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'speeches',\r
-        },\r
-      },\r
       by_system_picture: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_system_picture',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_system_picture: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  license_group: {\r
+  license_groups: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
-      licenses: {\r
-        type: 'list',\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'licenses',\r
+          list_name: 'public_list',\r
         },\r
       },\r
     },\r
   },\r
-  license: {\r
+  licenses: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
-      resource_pictures: {\r
-        type: 'list',\r
-        args: {\r
-          list_name: 'resource_pictures',\r
-        },\r
-      },\r
       by_license_group: {\r
         type: 'list',\r
-        args: {\r
-          list_name: 'by_license_group',\r
-        },\r
       },\r
       by_system_picture: {\r
         type: 'list',\r
+      },\r
+      count: {\r
+        type: 'count',\r
         args: {\r
-          list_name: 'by_system_picture',\r
+          list_name: 'public_list',\r
         },\r
       },\r
+      count_by_license_group: {\r
+        type: 'count',\r
+      },\r
+      count_by_system_picture: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
-  author: {\r
+  authors: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           list_name: 'ground_colors',\r
         },\r
       },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public_list',\r
+        },\r
+      },\r
     },\r
   },\r
-  artist: {\r
+  artists: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           list_name: 'resource_pictures',\r
         },\r
       },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public_list',\r
+        },\r
+      },\r
     },\r
   },\r
-  system_picture: {\r
+  system_pictures: {\r
     actions: {\r
       index: {\r
         type: 'list',\r
           \r
         },\r
       },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public_list',\r
+        },\r
+      },\r
     },\r
   },\r
   home: {\r
     actions: {\r
       scrolls: {\r
-        item_name: 'scroll',\r
         type: 'list',\r
         args: {\r
+          item_name: 'scroll',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       scroll_panels: {\r
-        item_name: 'scroll_panel',\r
         type: 'list',\r
         args: {\r
+          item_name: 'scroll_panel',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       comics: {\r
-        item_name: 'comic',\r
         type: 'list',\r
         args: {\r
+          item_name: 'comic',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       stories: {\r
-        item_name: 'story',\r
         type: 'list',\r
         args: {\r
+          item_name: 'story',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       story_sheets: {\r
-        item_name: 'story_sheet',\r
         type: 'list',\r
         args: {\r
+          item_name: 'story_sheet',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       sheets: {\r
-        item_name: 'sheet',\r
         type: 'list',\r
         args: {\r
+          item_name: 'sheet',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       sheet_panels: {\r
-        item_name: 'sheet_panel',\r
         type: 'list',\r
         args: {\r
+          item_name: 'sheet_panel',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       panels: {\r
-        item_name: 'panel',\r
         type: 'list',\r
         args: {\r
+          item_name: 'panel',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       panel_pictures: {\r
-        item_name: 'panel_picture',\r
         type: 'list',\r
         args: {\r
+          item_name: 'panel_picture',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       speech_balloons: {\r
-        item_name: 'speech_balloon',\r
         type: 'list',\r
         args: {\r
+          item_name: 'speech_balloon',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       speeches: {\r
-        item_name: 'speech',\r
         type: 'list',\r
         args: {\r
+          item_name: 'speech',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       balloons: {\r
-        item_name: 'balloon',\r
         type: 'list',\r
         args: {\r
+          item_name: 'balloon',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       ground_pictures: {\r
-        item_name: 'ground_picture',\r
         type: 'list',\r
         args: {\r
+          item_name: 'ground_picture',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       ground_colors: {\r
-        item_name: 'ground_color',\r
         type: 'list',\r
         args: {\r
+          item_name: 'ground_color',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       original_pictures: {\r
-        item_name: 'original_picture',\r
         type: 'list',\r
         args: {\r
+          item_name: 'original_picture',\r
           list_name: 'private_list',\r
           \r
         },\r
       },\r
       resource_pictures: {\r
-        item_name: 'resource_picture',\r
         type: 'list',\r
         args: {\r
+          item_name: 'resource_picture',\r
           list_name: 'private_list',\r
           \r
         },\r