OSDN Git Service

fix picture index action
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
1 #マニフェスト\r
2 @controllers = {\r
3   scrolls: {\r
4     actions: {\r
5       index: {\r
6         type: 'list',\r
7         args: {\r
8           list_name: 'public',\r
9         },\r
10       },\r
11       by_author: {\r
12         type: 'list',\r
13       },\r
14       by_panel: {\r
15         type: 'list',\r
16       },\r
17       play: {\r
18         type: 'list',\r
19         args: {\r
20           list_name: 'play',\r
21         },\r
22       },\r
23       show: {\r
24         type: 'show',\r
25       },\r
26       count: {\r
27         type: 'count',\r
28         args: {\r
29           list_name: 'public',\r
30         },\r
31       },\r
32       count_by_author: {\r
33         type: 'count',\r
34       },\r
35       count_by_panel: {\r
36         type: 'count',\r
37       },\r
38       new: {\r
39         type: 'new',\r
40       },\r
41       edit: {\r
42         type: 'edit',\r
43       },\r
44     },\r
45   },\r
46   scroll_panels: {\r
47     actions: {\r
48       index: {\r
49         type: 'list',\r
50         args: {\r
51           list_name: 'public',\r
52           \r
53         },\r
54       },\r
55       by_panel: {\r
56         type: 'list',\r
57       },\r
58       by_scroll: {\r
59         type: 'list',\r
60       },\r
61       show: {\r
62         type: 'show',\r
63       },\r
64       count: {\r
65         type: 'count',\r
66         args: {\r
67           list_name: 'public',\r
68         },\r
69       },\r
70       count_by_panel: {\r
71         type: 'count',\r
72       },\r
73       count_by_scroll: {\r
74         type: 'count',\r
75       },\r
76       new: {\r
77         type: 'new',\r
78       },\r
79       edit: {\r
80         type: 'edit',\r
81       },\r
82     },\r
83   },\r
84   comics: {\r
85     actions: {\r
86       index: {\r
87         type: 'list',\r
88         args: {\r
89           list_name: 'public',\r
90           \r
91         },\r
92       },\r
93       by_author: {\r
94         type: 'list',\r
95       },\r
96       show: {\r
97         type: 'show',\r
98       },\r
99       count: {\r
100         type: 'count',\r
101         args: {\r
102           list_name: 'public',\r
103         },\r
104       },\r
105       count_by_author: {\r
106         type: 'count',\r
107       },\r
108       new: {\r
109         type: 'new',\r
110       },\r
111       edit: {\r
112         type: 'edit',\r
113       },\r
114     },\r
115   },\r
116   stories: {\r
117     actions: {\r
118       index: {\r
119         type: 'list',\r
120         args: {\r
121           list_name: 'public',\r
122           \r
123         },\r
124       },\r
125       by_comic: {\r
126         type: 'list',\r
127       },\r
128       by_sheet: {\r
129         type: 'list',\r
130       },\r
131       by_author: {\r
132         type: 'list',\r
133       },\r
134       play: {\r
135         type: 'list',\r
136         args: {\r
137           list_name: 'play',\r
138         },\r
139       },\r
140       show: {\r
141         type: 'show',\r
142       },\r
143       count: {\r
144         type: 'count',\r
145         args: {\r
146           list_name: 'public',\r
147         },\r
148       },\r
149       by_comic: {\r
150         type: 'count',\r
151       },\r
152       by_sheet: {\r
153         type: 'count',\r
154       },\r
155       count_by_author: {\r
156         type: 'count',\r
157       },\r
158       new: {\r
159         type: 'new',\r
160       },\r
161       edit: {\r
162         type: 'edit',\r
163       },\r
164     },\r
165   },\r
166   story_sheets: {\r
167     actions: {\r
168       index: {\r
169         type: 'list',\r
170         args: {\r
171           list_name: 'public',\r
172           \r
173         },\r
174       },\r
175       by_story: {\r
176         type: 'list',\r
177       },\r
178       by_sheet: {\r
179         type: 'list',\r
180       },\r
181       show: {\r
182         type: 'show',\r
183       },\r
184       count: {\r
185         type: 'count',\r
186         args: {\r
187           list_name: 'public',\r
188         },\r
189       },\r
190       count_by_story: {\r
191         type: 'count',\r
192       },\r
193       count_by_sheet: {\r
194         type: 'count',\r
195       },\r
196       new: {\r
197         type: 'new',\r
198       },\r
199       edit: {\r
200         type: 'edit',\r
201       },\r
202     },\r
203   },\r
204   sheets: {\r
205     actions: {\r
206       index: {\r
207         type: 'list',\r
208         args: {\r
209           list_name: 'public',\r
210           \r
211         },\r
212       },\r
213       by_story: {\r
214         type: 'list',\r
215       },\r
216       by_panel: {\r
217         type: 'list',\r
218       },\r
219       by_author: {\r
220         type: 'list',\r
221       },\r
222       play: {\r
223         type: 'list',\r
224         args: {\r
225           list_name: 'play',\r
226         },\r
227       },\r
228       show: {\r
229         type: 'show',\r
230       },\r
231       count: {\r
232         type: 'count',\r
233         args: {\r
234           list_name: 'public',\r
235         },\r
236       },\r
237       count_by_story: {\r
238         type: 'count',\r
239       },\r
240       count_by_panel: {\r
241         type: 'count',\r
242       },\r
243       count_by_author: {\r
244         type: 'count',\r
245       },\r
246       new: {\r
247         type: 'new',\r
248       },\r
249       edit: {\r
250         type: 'edit',\r
251       },\r
252     },\r
253   },\r
254   sheet_panels: {\r
255     actions: {\r
256       index: {\r
257         type: 'list',\r
258         args: {\r
259           list_name: 'public',\r
260           \r
261         },\r
262       },\r
263       by_sheet: {\r
264         type: 'list',\r
265       },\r
266       by_panel: {\r
267         type: 'list',\r
268       },\r
269       show: {\r
270         type: 'show',\r
271       },\r
272       count: {\r
273         type: 'count',\r
274         args: {\r
275           list_name: 'public',\r
276         },\r
277       },\r
278       count_by_sheet: {\r
279         type: 'count',\r
280       },\r
281       count_by_panel: {\r
282         type: 'count',\r
283       },\r
284       new: {\r
285         type: 'new',\r
286       },\r
287       edit: {\r
288         type: 'edit',\r
289       },\r
290     },\r
291   },\r
292   panels: {\r
293     actions: {\r
294       index: {\r
295         type: 'list',\r
296         args: {\r
297           list_name: 'public',\r
298           \r
299         },\r
300       },\r
301       by_scroll: {\r
302         type: 'list',\r
303       },\r
304       by_sheet: {\r
305         type: 'list',\r
306       },\r
307       by_author: {\r
308         type: 'list',\r
309       },\r
310       by_speech_balloon_template: {\r
311         type: 'list',\r
312       },\r
313       show: {\r
314         type: 'show',\r
315       },\r
316       count: {\r
317         type: 'count',\r
318         args: {\r
319           list_name: 'public',\r
320         },\r
321       },\r
322       count_by_scroll: {\r
323         type: 'count',\r
324       },\r
325       count_by_sheet: {\r
326         type: 'count',\r
327       },\r
328       count_by_author: {\r
329         type: 'count',\r
330       },\r
331       count_by_speech_balloon_template: {\r
332         type: 'count',\r
333       },\r
334       new: {\r
335         type: 'new',\r
336       },\r
337       edit: {\r
338         type: 'edit',\r
339       },\r
340     },\r
341   },\r
342   panel_pictures: {\r
343     actions: {\r
344       index: {\r
345         type: 'list',\r
346         args: {\r
347           list_name: 'public',\r
348           \r
349         },\r
350       },\r
351       by_panel: {\r
352         type: 'list',\r
353       },\r
354       by_author: {\r
355         type: 'list',\r
356       },\r
357       show: {\r
358         type: 'show',\r
359       },\r
360       count: {\r
361         type: 'count',\r
362         args: {\r
363           list_name: 'public',\r
364         },\r
365       },\r
366       count_by_panel: {\r
367         type: 'count',\r
368       },\r
369       count_by_author: {\r
370         type: 'count',\r
371       },\r
372       new: {\r
373         type: 'new',\r
374       },\r
375       edit: {\r
376         type: 'edit',\r
377       },\r
378     },\r
379   },\r
380   speech_balloons: {\r
381     actions: {\r
382       index: {\r
383         type: 'list',\r
384         args: {\r
385           list_name: 'public',\r
386           \r
387         },\r
388       },\r
389       by_panel: {\r
390         type: 'list',\r
391       },\r
392       by_author: {\r
393         type: 'list',\r
394       },\r
395       show: {\r
396         type: 'show',\r
397       },\r
398       count: {\r
399         type: 'count',\r
400         args: {\r
401           list_name: 'public',\r
402         },\r
403       },\r
404       count_by_panel: {\r
405         type: 'count',\r
406       },\r
407       count_by_author: {\r
408         type: 'count',\r
409       },\r
410       new: {\r
411         type: 'new',\r
412       },\r
413       edit: {\r
414         type: 'edit',\r
415       },\r
416     },\r
417   },\r
418   speeches: {\r
419     actions: {\r
420       index: {\r
421         type: 'list',\r
422         args: {\r
423           list_name: 'public',\r
424           \r
425         },\r
426       },\r
427       by_writing_format: {\r
428         type: 'list',\r
429       },\r
430       show: {\r
431         type: 'show',\r
432       },\r
433       count: {\r
434         type: 'count',\r
435         args: {\r
436           list_name: 'public',\r
437         },\r
438       },\r
439       count_by_writing_format: {\r
440         type: 'count',\r
441       },\r
442       new: {\r
443         type: 'new',\r
444       },\r
445       edit: {\r
446         type: 'edit',\r
447       },\r
448     },\r
449   },\r
450   balloons: {\r
451     actions: {\r
452       index: {\r
453         type: 'list',\r
454         args: {\r
455           list_name: 'public',\r
456           \r
457         },\r
458       },\r
459       #by_system_picture: {\r
460       #  type: 'list',\r
461       #  args: {\r
462       #    list_name: 'by_system_picture',\r
463       #  },\r
464       #},\r
465       show: {\r
466         type: 'show',\r
467       },\r
468       count: {\r
469         type: 'count',\r
470         args: {\r
471           list_name: 'public',\r
472         },\r
473       },\r
474       new: {\r
475         type: 'new',\r
476       },\r
477       edit: {\r
478         type: 'edit',\r
479       },\r
480     },\r
481   },\r
482   ground_pictures: {\r
483     actions: {\r
484       index: {\r
485         type: 'list',\r
486         args: {\r
487           list_name: 'public',\r
488           \r
489         },\r
490       },\r
491       by_panel: {\r
492         type: 'list',\r
493       },\r
494       by_author: {\r
495         type: 'list',\r
496       },\r
497       show: {\r
498         type: 'show',\r
499       },\r
500       count: {\r
501         type: 'count',\r
502         args: {\r
503           list_name: 'public',\r
504         },\r
505       },\r
506       count_by_panel: {\r
507         type: 'count',\r
508       },\r
509       count_by_author: {\r
510         type: 'count',\r
511       },\r
512       new: {\r
513         type: 'new',\r
514       },\r
515       edit: {\r
516         type: 'edit',\r
517       },\r
518     },\r
519   },\r
520   ground_colors: {\r
521     actions: {\r
522       index: {\r
523         type: 'list',\r
524         args: {\r
525           list_name: 'public',\r
526           \r
527         },\r
528       },\r
529       by_panel: {\r
530         type: 'list',\r
531       },\r
532       by_author: {\r
533         type: 'list',\r
534       },\r
535       show: {\r
536         type: 'show',\r
537       },\r
538       count: {\r
539         type: 'count',\r
540         args: {\r
541           list_name: 'public',\r
542         },\r
543       },\r
544       count_by_panel: {\r
545         type: 'count',\r
546       },\r
547       count_by_author: {\r
548         type: 'count',\r
549       },\r
550       new: {\r
551         type: 'new',\r
552       },\r
553       edit: {\r
554         type: 'edit',\r
555       },\r
556     },\r
557   },\r
558   original_pictures: {\r
559     actions: {\r
560       index: {\r
561         type: 'list',\r
562         args: {\r
563           list_name: 'private',\r
564         },\r
565       },\r
566       show: {\r
567         type: 'show',\r
568       },\r
569       count: {\r
570         type: 'count',\r
571         args: {\r
572           list_name: 'public',\r
573         },\r
574       },\r
575     },\r
576   },\r
577   pictures: {\r
578     actions: {\r
579       index: {\r
580         type: 'list',\r
581         args: {\r
582           list_name: 'public',\r
583           \r
584         },\r
585       },\r
586       show: {\r
587         type: 'show',\r
588       },\r
589     },\r
590   },\r
591   resource_pictures: {\r
592     actions: {\r
593       index: {\r
594         type: 'list',\r
595         args: {\r
596           list_name: 'public',\r
597           \r
598         },\r
599       },\r
600       by_original_picture: {\r
601         type: 'list',\r
602       },\r
603       by_license: {\r
604         type: 'list',\r
605       },\r
606       by_artist: {\r
607         type: 'list',\r
608       },\r
609       show: {\r
610         type: 'show',\r
611       },\r
612       count: {\r
613         type: 'count',\r
614         args: {\r
615           list_name: 'public',\r
616         },\r
617       },\r
618       count_by_license: {\r
619         type: 'count',\r
620       },\r
621       count_by_artist: {\r
622         type: 'count',\r
623       },\r
624     },\r
625   },\r
626   speech_balloon_templates: {\r
627     actions: {\r
628       index: {\r
629         type: 'list',\r
630         args: {\r
631           list_name: 'public',\r
632           \r
633         },\r
634       },\r
635       show: {\r
636         type: 'show',\r
637       },\r
638       count: {\r
639         type: 'count',\r
640         args: {\r
641           list_name: 'public',\r
642         },\r
643       },\r
644       new: {\r
645         type: 'new',\r
646       },\r
647       edit: {\r
648         type: 'edit',\r
649       },\r
650     },\r
651   },\r
652   writing_formats: {\r
653     actions: {\r
654       index: {\r
655         type: 'list',\r
656         args: {\r
657           list_name: 'public',\r
658           \r
659         },\r
660       },\r
661       by_system_picture: {\r
662         type: 'list',\r
663       },\r
664       show: {\r
665         type: 'show',\r
666       },\r
667       count: {\r
668         type: 'count',\r
669         args: {\r
670           list_name: 'public',\r
671         },\r
672       },\r
673       count_by_system_picture: {\r
674         type: 'count',\r
675       },\r
676       new: {\r
677         type: 'new',\r
678       },\r
679       edit: {\r
680         type: 'edit',\r
681       },\r
682     },\r
683   },\r
684   license_groups: {\r
685     actions: {\r
686       index: {\r
687         type: 'list',\r
688         args: {\r
689           list_name: 'public',\r
690           \r
691         },\r
692       },\r
693       show: {\r
694         type: 'show',\r
695       },\r
696       count: {\r
697         type: 'count',\r
698         args: {\r
699           list_name: 'public',\r
700         },\r
701       },\r
702       new: {\r
703         type: 'new',\r
704       },\r
705       edit: {\r
706         type: 'edit',\r
707       },\r
708     },\r
709   },\r
710   licenses: {\r
711     actions: {\r
712       index: {\r
713         type: 'list',\r
714         args: {\r
715           list_name: 'public',\r
716           \r
717         },\r
718       },\r
719       by_license_group: {\r
720         type: 'list',\r
721       },\r
722       by_system_picture: {\r
723         type: 'list',\r
724       },\r
725       show: {\r
726         type: 'show',\r
727       },\r
728       count: {\r
729         type: 'count',\r
730         args: {\r
731           list_name: 'public',\r
732         },\r
733       },\r
734       count_by_license_group: {\r
735         type: 'count',\r
736       },\r
737       count_by_system_picture: {\r
738         type: 'count',\r
739       },\r
740       new: {\r
741         type: 'new',\r
742       },\r
743       edit: {\r
744         type: 'edit',\r
745       },\r
746     },\r
747   },\r
748   authors: {\r
749     actions: {\r
750       index: {\r
751         type: 'list',\r
752         args: {\r
753           list_name: 'public',\r
754           \r
755         },\r
756       },\r
757       scrolls: {\r
758         type: 'list',\r
759         args: {\r
760           list_name: 'scrolls',\r
761         },\r
762       },\r
763       comics: {\r
764         type: 'list',\r
765         args: {\r
766           list_name: 'comics',\r
767         },\r
768       },\r
769       stories: {\r
770         type: 'list',\r
771         args: {\r
772           list_name: 'stories',\r
773         },\r
774       },\r
775       sheets: {\r
776         type: 'list',\r
777         args: {\r
778           list_name: 'sheets',\r
779         },\r
780       },\r
781       panels: {\r
782         type: 'list',\r
783         args: {\r
784           list_name: 'panels',\r
785         },\r
786       },\r
787       panel_pictures: {\r
788         type: 'list',\r
789         args: {\r
790           list_name: 'panel_pictures',\r
791         },\r
792       },\r
793       speech_balloons: {\r
794         type: 'list',\r
795         args: {\r
796           list_name: 'speech_balloons',\r
797         },\r
798       },\r
799       ground_pictures: {\r
800         type: 'list',\r
801         args: {\r
802           list_name: 'ground_pictures',\r
803         },\r
804       },\r
805       ground_colors: {\r
806         type: 'list',\r
807         args: {\r
808           list_name: 'ground_colors',\r
809         },\r
810       },\r
811       show: {\r
812         type: 'show',\r
813       },\r
814       count: {\r
815         type: 'count',\r
816         args: {\r
817           list_name: 'public',\r
818         },\r
819       },\r
820       new: {\r
821         type: 'new',\r
822       },\r
823       edit: {\r
824         type: 'edit',\r
825       },\r
826     },\r
827   },\r
828   artists: {\r
829     actions: {\r
830       index: {\r
831         type: 'list',\r
832         args: {\r
833           list_name: 'public',\r
834           \r
835         },\r
836       },\r
837       resource_pictures: {\r
838         type: 'list',\r
839         args: {\r
840           list_name: 'resource_pictures',\r
841         },\r
842       },\r
843       show: {\r
844         type: 'show',\r
845       },\r
846       count: {\r
847         type: 'count',\r
848         args: {\r
849           list_name: 'public',\r
850         },\r
851       },\r
852       new: {\r
853         type: 'new',\r
854       },\r
855       edit: {\r
856         type: 'edit',\r
857       },\r
858     },\r
859   },\r
860   system_pictures: {\r
861     actions: {\r
862       index: {\r
863         type: 'list',\r
864         args: {\r
865           list_name: 'public',\r
866           \r
867         },\r
868       },\r
869       show: {\r
870         type: 'show',\r
871       },\r
872       count: {\r
873         type: 'count',\r
874         args: {\r
875           list_name: 'public',\r
876         },\r
877       },\r
878     },\r
879   },\r
880   home: {\r
881     actions: {\r
882       scrolls: {\r
883         type: 'list',\r
884         args: {\r
885           item_name: 'scroll',\r
886           list_name: 'private',\r
887           \r
888         },\r
889       },\r
890       scroll_panels: {\r
891         type: 'list',\r
892         args: {\r
893           item_name: 'scroll_panel',\r
894           list_name: 'private',\r
895           \r
896         },\r
897       },\r
898       comics: {\r
899         type: 'list',\r
900         args: {\r
901           item_name: 'comic',\r
902           list_name: 'private',\r
903           \r
904         },\r
905       },\r
906       stories: {\r
907         type: 'list',\r
908         args: {\r
909           item_name: 'story',\r
910           list_name: 'private',\r
911           \r
912         },\r
913       },\r
914       story_sheets: {\r
915         type: 'list',\r
916         args: {\r
917           item_name: 'story_sheet',\r
918           list_name: 'private',\r
919           \r
920         },\r
921       },\r
922       sheets: {\r
923         type: 'list',\r
924         args: {\r
925           item_name: 'sheet',\r
926           list_name: 'private',\r
927           \r
928         },\r
929       },\r
930       sheet_panels: {\r
931         type: 'list',\r
932         args: {\r
933           item_name: 'sheet_panel',\r
934           list_name: 'private',\r
935           \r
936         },\r
937       },\r
938       panels: {\r
939         type: 'list',\r
940         args: {\r
941           item_name: 'panel',\r
942           list_name: 'private',\r
943           \r
944         },\r
945       },\r
946       panel_pictures: {\r
947         type: 'list',\r
948         args: {\r
949           item_name: 'panel_picture',\r
950           list_name: 'private',\r
951           \r
952         },\r
953       },\r
954       speech_balloons: {\r
955         type: 'list',\r
956         args: {\r
957           item_name: 'speech_balloon',\r
958           list_name: 'private',\r
959           \r
960         },\r
961       },\r
962       speeches: {\r
963         type: 'list',\r
964         args: {\r
965           item_name: 'speech',\r
966           list_name: 'private',\r
967           \r
968         },\r
969       },\r
970       balloons: {\r
971         type: 'list',\r
972         args: {\r
973           item_name: 'balloon',\r
974           list_name: 'private',\r
975           \r
976         },\r
977       },\r
978       ground_pictures: {\r
979         type: 'list',\r
980         args: {\r
981           item_name: 'ground_picture',\r
982           list_name: 'private',\r
983           \r
984         },\r
985       },\r
986       ground_colors: {\r
987         type: 'list',\r
988         args: {\r
989           item_name: 'ground_color',\r
990           list_name: 'private',\r
991           \r
992         },\r
993       },\r
994       original_pictures: {\r
995         type: 'list',\r
996         args: {\r
997           item_name: 'original_picture',\r
998           list_name: 'private',\r
999           \r
1000         },\r
1001       },\r
1002       resource_pictures: {\r
1003         type: 'list',\r
1004         args: {\r
1005           item_name: 'resource_picture',\r
1006           list_name: 'private',\r
1007           \r
1008         },\r
1009       },\r
1010     },\r
1011   },\r
1012 }\r