OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / assets / javascripts / work / controllers.js.coffee.erb
index 0e01995..da76340 100644 (file)
       watch: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_scroll: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
         type: 'list',\r
         args: {\r
           alias: 'comic_stories.by_comic',\r
+          max_page_size: -1,\r
           order: 't',\r
           direction: 1\r
         },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\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
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\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
       new: {\r
         type: 'new',\r
       },\r
         type: 'list',\r
         args: {\r
           alias: 'story_sheets.by_story',\r
+          max_page_size: -1,\r
           order: 't',\r
           direction: 1\r
         },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_comic: {\r
-        type: 'count',\r
-      },\r
-      count_by_sheet: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_story: {\r
-        type: 'count',\r
-      },\r
-      count_by_sheet: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_story: {\r
-        type: 'count',\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_sheet: {\r
-        type: 'count',\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_scroll: {\r
-        type: 'count',\r
-      },\r
-      count_by_sheet: {\r
-        type: 'count',\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
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\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
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
-      count_by_speech_balloon: {\r
-        type: 'count',\r
-      },\r
-      count_by_speech_balloon_template: {\r
-        type: 'count',\r
-      },\r
-      count_by_writing_format: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
-      count_by_speech_balloon: {\r
-        type: 'count',\r
-      },\r
-      count_by_speech_balloon_template: {\r
-        type: 'count',\r
-      },\r
-      count_by_system_picture: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
-      count_by_author: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       history: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_artist: {\r
-        type: 'count',\r
-      },\r
     },\r
   },\r
   resource_pictures: {\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_original_picture: {\r
-        type: 'count',\r
-      },\r
-      count_by_license_group: {\r
-        type: 'count',\r
-      },\r
-      count_by_license: {\r
-        type: 'count',\r
-      },\r
-      count_by_artist: {\r
-        type: 'count',\r
-      },\r
     },\r
   },\r
   speech_balloon_templates: {\r
         type: 'list',\r
         args: {\r
           param_id: 'none',\r
+          max_page_size: -1,\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
       by_panel: {\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_panel: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
         type: 'list',\r
         args: {\r
           param_id: 'none',\r
+          max_page_size: -1,\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
       by_system_picture: {\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_system_picture: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
         type: 'list',\r
         args: {\r
           param_id: 'none',\r
+          max_page_size: -1,\r
+          order: 't',\r
+          direction: 1\r
         },\r
       },\r
       by_resource_picture: {\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_resource_picture: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
         type: 'list',\r
         args: {\r
           param_id: 'none',\r
+          max_page_size: -1,\r
+          order: 'name',\r
+          direction: 1\r
         },\r
       },\r
       by_license_group: {\r
         type: 'list',\r
         args: {\r
           param_id: 'suffix',\r
+          order: 'name',\r
+          direction: 1\r
         },\r
       },\r
       by_system_picture: {\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
-      count_by_license_group: {\r
-        type: 'count',\r
-      },\r
-      count_by_system_picture: {\r
-        type: 'count',\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
-      count: {\r
-        type: 'count',\r
-        args: {\r
-          action_name: 'index',\r
-        },\r
-      },\r
     },\r
   },\r
   home: {\r
       scrolls: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'scroll',\r
-          param_id: 'none',\r
-          counter_name: 'scrolls_count',\r
+          alias: 'scrolls.index',\r
         },\r
       },\r
       scroll_panels: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'scroll_panel',\r
-          param_id: 'none',\r
-          counter_name: 'scroll_panels_count',\r
+          alias: 'scroll_panels.index',\r
         },\r
       },\r
       comics: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'comic',\r
-          param_id: 'none',\r
-          counter_name: 'comics_count',\r
+          alias: 'comics.index',\r
         },\r
       },\r
       comic_stories: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'comic_story',\r
-          param_id: 'none',\r
-          counter_name: 'comic_stories_count',\r
+          alias: 'comic_stories.index',\r
         },\r
       },\r
       stories: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'story',\r
-          param_id: 'none',\r
-          counter_name: 'stories_count',\r
+          alias: 'stories.index',\r
         },\r
       },\r
       story_sheets: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'story_sheet',\r
-          param_id: 'none',\r
-          counter_name: 'story_sheets_count',\r
+          alias: 'story_sheets.index',\r
         },\r
       },\r
       sheets: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'sheet',\r
-          param_id: 'none',\r
-          counter_name: 'sheets_count',\r
+          alias: 'sheets.index',\r
         },\r
       },\r
       sheet_panels: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'sheet_panel',\r
-          param_id: 'none',\r
-          counter_name: 'sheet_panels_count',\r
+          alias: 'sheet_panels.index',\r
         },\r
       },\r
       panels: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'panel',\r
-          param_id: 'none',\r
-          counter_name: 'panels_count',\r
+          alias: 'panels.index',\r
         },\r
       },\r
       panel_pictures: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'panel_picture',\r
-          param_id: 'none',\r
-          counter_name: 'panel_pictures_count',\r
+          alias: 'panel_pictures.index',\r
         },\r
       },\r
       speech_balloons: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'speech_balloon',\r
-          param_id: 'none',\r
-          counter_name: 'speech_balloons_count',\r
+          alias: 'speech_balloons.index',\r
         },\r
       },\r
       speeches: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'speech',\r
-          param_id: 'none',\r
-          counter_name: 'speeches_count',\r
+          alias: 'speeches.index',\r
         },\r
       },\r
       balloons: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'balloon',\r
-          param_id: 'none',\r
-          counter_name: 'balloons_count',\r
+          alias: 'balloons.index',\r
         },\r
       },\r
       ground_pictures: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'ground_picture',\r
-          param_id: 'none',\r
-          counter_name: 'ground_pictures_count',\r
+          alias: 'ground_pictures.index',\r
         },\r
       },\r
       ground_colors: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'ground_color',\r
-          param_id: 'none',\r
-          counter_name: 'ground_colors_count',\r
+          alias: 'ground_colors.index',\r
         },\r
       },\r
       original_pictures: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'original_picture',\r
-          param_id: 'none',\r
-          counter_name: 'count',\r
+          alias: 'original_pictures.index',\r
         },\r
       },\r
       resource_pictures: {\r
         type: 'list',\r
         args: {\r
-          item_name: 'resource_picture',\r
-          param_id: 'none',\r
-          counter_name: 'resource_pictures_count',\r
-        },\r
-      },\r
-      scrolls_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'scroll',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      scroll_panels_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'scroll_panel',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      comics_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'comic',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      comic_stories_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'comic_story',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      stories_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'story',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      story_sheets_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'story_sheet',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      sheets_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'sheet',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      sheet_panels_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'sheet_panel',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      panels_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'panel',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      panel_pictures_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'panel_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      speech_balloons_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'speech_balloon',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      speeches_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'speech',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      balloons_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'balloon',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      ground_pictures_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'ground_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      ground_colors_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'ground_color',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      original_pictures_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'original_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
-        },\r
-      },\r
-      resource_pictures_count: {\r
-        type: 'count',\r
-        args: {\r
-          item_name: 'resource_picture',\r
-          list_name: 'private',\r
-          param_id: 'none',\r
+          alias: 'resource_pictures.index',\r
         },\r
       },\r
     },\r