OSDN Git Service

fix orm
[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     },\r
373   },\r
374   speech_balloons: {\r
375     actions: {\r
376       index: {\r
377         type: 'list',\r
378         args: {\r
379           list_name: 'public',\r
380           \r
381         },\r
382       },\r
383       by_panel: {\r
384         type: 'list',\r
385       },\r
386       by_author: {\r
387         type: 'list',\r
388       },\r
389       show: {\r
390         type: 'show',\r
391       },\r
392       count: {\r
393         type: 'count',\r
394         args: {\r
395           list_name: 'public',\r
396         },\r
397       },\r
398       count_by_panel: {\r
399         type: 'count',\r
400       },\r
401       count_by_author: {\r
402         type: 'count',\r
403       },\r
404     },\r
405   },\r
406   speeches: {\r
407     actions: {\r
408       index: {\r
409         type: 'list',\r
410         args: {\r
411           list_name: 'public',\r
412           \r
413         },\r
414       },\r
415       by_writing_format: {\r
416         type: 'list',\r
417       },\r
418       show: {\r
419         type: 'show',\r
420       },\r
421       count: {\r
422         type: 'count',\r
423         args: {\r
424           list_name: 'public',\r
425         },\r
426       },\r
427       count_by_writing_format: {\r
428         type: 'count',\r
429       },\r
430     },\r
431   },\r
432   balloons: {\r
433     actions: {\r
434       index: {\r
435         type: 'list',\r
436         args: {\r
437           list_name: 'public',\r
438           \r
439         },\r
440       },\r
441       #by_system_picture: {\r
442       #  type: 'list',\r
443       #  args: {\r
444       #    list_name: 'by_system_picture',\r
445       #  },\r
446       #},\r
447       show: {\r
448         type: 'show',\r
449       },\r
450       count: {\r
451         type: 'count',\r
452         args: {\r
453           list_name: 'public',\r
454         },\r
455       },\r
456     },\r
457   },\r
458   ground_pictures: {\r
459     actions: {\r
460       index: {\r
461         type: 'list',\r
462         args: {\r
463           list_name: 'public',\r
464           \r
465         },\r
466       },\r
467       by_panel: {\r
468         type: 'list',\r
469       },\r
470       by_author: {\r
471         type: 'list',\r
472       },\r
473       show: {\r
474         type: 'show',\r
475       },\r
476       count: {\r
477         type: 'count',\r
478         args: {\r
479           list_name: 'public',\r
480         },\r
481       },\r
482       count_by_panel: {\r
483         type: 'count',\r
484       },\r
485       count_by_author: {\r
486         type: 'count',\r
487       },\r
488     },\r
489   },\r
490   ground_colors: {\r
491     actions: {\r
492       index: {\r
493         type: 'list',\r
494         args: {\r
495           list_name: 'public',\r
496           \r
497         },\r
498       },\r
499       by_panel: {\r
500         type: 'list',\r
501       },\r
502       by_author: {\r
503         type: 'list',\r
504       },\r
505       show: {\r
506         type: 'show',\r
507       },\r
508       count: {\r
509         type: 'count',\r
510         args: {\r
511           list_name: 'public',\r
512         },\r
513       },\r
514       count_by_panel: {\r
515         type: 'count',\r
516       },\r
517       count_by_author: {\r
518         type: 'count',\r
519       },\r
520     },\r
521   },\r
522   original_pictures: {\r
523     actions: {\r
524       index: {\r
525         type: 'list',\r
526         args: {\r
527           list_name: 'private',\r
528         },\r
529       },\r
530       show: {\r
531         type: 'show',\r
532       },\r
533       count: {\r
534         type: 'count',\r
535         args: {\r
536           list_name: 'public',\r
537         },\r
538       },\r
539     },\r
540   },\r
541   pictures: {\r
542     actions: {\r
543       show: {\r
544         type: 'show',\r
545       },\r
546     },\r
547   },\r
548   resource_pictures: {\r
549     actions: {\r
550       index: {\r
551         type: 'list',\r
552         args: {\r
553           list_name: 'public',\r
554           \r
555         },\r
556       },\r
557       by_license: {\r
558         type: 'list',\r
559       },\r
560       by_artist: {\r
561         type: 'list',\r
562       },\r
563       show: {\r
564         type: 'show',\r
565       },\r
566       count: {\r
567         type: 'count',\r
568         args: {\r
569           list_name: 'public',\r
570         },\r
571       },\r
572       count_by_license: {\r
573         type: 'count',\r
574       },\r
575       count_by_artist: {\r
576         type: 'count',\r
577       },\r
578     },\r
579   },\r
580   speech_balloon_templates: {\r
581     actions: {\r
582       index: {\r
583         type: 'list',\r
584         args: {\r
585           list_name: 'public',\r
586           \r
587         },\r
588       },\r
589       show: {\r
590         type: 'show',\r
591       },\r
592       count: {\r
593         type: 'count',\r
594         args: {\r
595           list_name: 'public',\r
596         },\r
597       },\r
598     },\r
599   },\r
600   writing_formats: {\r
601     actions: {\r
602       index: {\r
603         type: 'list',\r
604         args: {\r
605           list_name: 'public',\r
606           \r
607         },\r
608       },\r
609       by_system_picture: {\r
610         type: 'list',\r
611       },\r
612       show: {\r
613         type: 'show',\r
614       },\r
615       count: {\r
616         type: 'count',\r
617         args: {\r
618           list_name: 'public',\r
619         },\r
620       },\r
621       count_by_system_picture: {\r
622         type: 'count',\r
623       },\r
624     },\r
625   },\r
626   license_groups: {\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     },\r
645   },\r
646   licenses: {\r
647     actions: {\r
648       index: {\r
649         type: 'list',\r
650         args: {\r
651           list_name: 'public',\r
652           \r
653         },\r
654       },\r
655       by_license_group: {\r
656         type: 'list',\r
657       },\r
658       by_system_picture: {\r
659         type: 'list',\r
660       },\r
661       show: {\r
662         type: 'show',\r
663       },\r
664       count: {\r
665         type: 'count',\r
666         args: {\r
667           list_name: 'public',\r
668         },\r
669       },\r
670       count_by_license_group: {\r
671         type: 'count',\r
672       },\r
673       count_by_system_picture: {\r
674         type: 'count',\r
675       },\r
676     },\r
677   },\r
678   authors: {\r
679     actions: {\r
680       index: {\r
681         type: 'list',\r
682         args: {\r
683           list_name: 'public',\r
684           \r
685         },\r
686       },\r
687       scrolls: {\r
688         type: 'list',\r
689         args: {\r
690           list_name: 'scrolls',\r
691         },\r
692       },\r
693       comics: {\r
694         type: 'list',\r
695         args: {\r
696           list_name: 'comics',\r
697         },\r
698       },\r
699       stories: {\r
700         type: 'list',\r
701         args: {\r
702           list_name: 'stories',\r
703         },\r
704       },\r
705       sheets: {\r
706         type: 'list',\r
707         args: {\r
708           list_name: 'sheets',\r
709         },\r
710       },\r
711       panels: {\r
712         type: 'list',\r
713         args: {\r
714           list_name: 'panels',\r
715         },\r
716       },\r
717       panel_pictures: {\r
718         type: 'list',\r
719         args: {\r
720           list_name: 'panel_pictures',\r
721         },\r
722       },\r
723       speech_balloons: {\r
724         type: 'list',\r
725         args: {\r
726           list_name: 'speech_balloons',\r
727         },\r
728       },\r
729       ground_pictures: {\r
730         type: 'list',\r
731         args: {\r
732           list_name: 'ground_pictures',\r
733         },\r
734       },\r
735       ground_colors: {\r
736         type: 'list',\r
737         args: {\r
738           list_name: 'ground_colors',\r
739         },\r
740       },\r
741       show: {\r
742         type: 'show',\r
743       },\r
744       count: {\r
745         type: 'count',\r
746         args: {\r
747           list_name: 'public',\r
748         },\r
749       },\r
750       new: {\r
751         type: 'new',\r
752       },\r
753       edit: {\r
754         type: 'edit',\r
755       },\r
756     },\r
757   },\r
758   artists: {\r
759     actions: {\r
760       index: {\r
761         type: 'list',\r
762         args: {\r
763           list_name: 'public',\r
764           \r
765         },\r
766       },\r
767       resource_pictures: {\r
768         type: 'list',\r
769         args: {\r
770           list_name: 'resource_pictures',\r
771         },\r
772       },\r
773       show: {\r
774         type: 'show',\r
775       },\r
776       count: {\r
777         type: 'count',\r
778         args: {\r
779           list_name: 'public',\r
780         },\r
781       },\r
782       new: {\r
783         type: 'new',\r
784       },\r
785       edit: {\r
786         type: 'edit',\r
787       },\r
788     },\r
789   },\r
790   system_pictures: {\r
791     actions: {\r
792       index: {\r
793         type: 'list',\r
794         args: {\r
795           list_name: 'public',\r
796           \r
797         },\r
798       },\r
799       show: {\r
800         type: 'show',\r
801       },\r
802       count: {\r
803         type: 'count',\r
804         args: {\r
805           list_name: 'public',\r
806         },\r
807       },\r
808     },\r
809   },\r
810   home: {\r
811     actions: {\r
812       scrolls: {\r
813         type: 'list',\r
814         args: {\r
815           item_name: 'scroll',\r
816           list_name: 'private',\r
817           \r
818         },\r
819       },\r
820       scroll_panels: {\r
821         type: 'list',\r
822         args: {\r
823           item_name: 'scroll_panel',\r
824           list_name: 'private',\r
825           \r
826         },\r
827       },\r
828       comics: {\r
829         type: 'list',\r
830         args: {\r
831           item_name: 'comic',\r
832           list_name: 'private',\r
833           \r
834         },\r
835       },\r
836       stories: {\r
837         type: 'list',\r
838         args: {\r
839           item_name: 'story',\r
840           list_name: 'private',\r
841           \r
842         },\r
843       },\r
844       story_sheets: {\r
845         type: 'list',\r
846         args: {\r
847           item_name: 'story_sheet',\r
848           list_name: 'private',\r
849           \r
850         },\r
851       },\r
852       sheets: {\r
853         type: 'list',\r
854         args: {\r
855           item_name: 'sheet',\r
856           list_name: 'private',\r
857           \r
858         },\r
859       },\r
860       sheet_panels: {\r
861         type: 'list',\r
862         args: {\r
863           item_name: 'sheet_panel',\r
864           list_name: 'private',\r
865           \r
866         },\r
867       },\r
868       panels: {\r
869         type: 'list',\r
870         args: {\r
871           item_name: 'panel',\r
872           list_name: 'private',\r
873           \r
874         },\r
875       },\r
876       panel_pictures: {\r
877         type: 'list',\r
878         args: {\r
879           item_name: 'panel_picture',\r
880           list_name: 'private',\r
881           \r
882         },\r
883       },\r
884       speech_balloons: {\r
885         type: 'list',\r
886         args: {\r
887           item_name: 'speech_balloon',\r
888           list_name: 'private',\r
889           \r
890         },\r
891       },\r
892       speeches: {\r
893         type: 'list',\r
894         args: {\r
895           item_name: 'speech',\r
896           list_name: 'private',\r
897           \r
898         },\r
899       },\r
900       balloons: {\r
901         type: 'list',\r
902         args: {\r
903           item_name: 'balloon',\r
904           list_name: 'private',\r
905           \r
906         },\r
907       },\r
908       ground_pictures: {\r
909         type: 'list',\r
910         args: {\r
911           item_name: 'ground_picture',\r
912           list_name: 'private',\r
913           \r
914         },\r
915       },\r
916       ground_colors: {\r
917         type: 'list',\r
918         args: {\r
919           item_name: 'ground_color',\r
920           list_name: 'private',\r
921           \r
922         },\r
923       },\r
924       original_pictures: {\r
925         type: 'list',\r
926         args: {\r
927           item_name: 'original_picture',\r
928           list_name: 'private',\r
929           \r
930         },\r
931       },\r
932       resource_pictures: {\r
933         type: 'list',\r
934         args: {\r
935           item_name: 'resource_picture',\r
936           list_name: 'private',\r
937           \r
938         },\r
939       },\r
940     },\r
941   },\r
942 }\r