OSDN Git Service

fix edit extend_item
[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_original_picture: {\r
558         type: 'list',\r
559       },\r
560       by_license: {\r
561         type: 'list',\r
562       },\r
563       by_artist: {\r
564         type: 'list',\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       count_by_license: {\r
576         type: 'count',\r
577       },\r
578       count_by_artist: {\r
579         type: 'count',\r
580       },\r
581     },\r
582   },\r
583   speech_balloon_templates: {\r
584     actions: {\r
585       index: {\r
586         type: 'list',\r
587         args: {\r
588           list_name: 'public',\r
589           \r
590         },\r
591       },\r
592       show: {\r
593         type: 'show',\r
594       },\r
595       count: {\r
596         type: 'count',\r
597         args: {\r
598           list_name: 'public',\r
599         },\r
600       },\r
601       new: {\r
602         type: 'new',\r
603       },\r
604       edit: {\r
605         type: 'edit',\r
606       },\r
607     },\r
608   },\r
609   writing_formats: {\r
610     actions: {\r
611       index: {\r
612         type: 'list',\r
613         args: {\r
614           list_name: 'public',\r
615           \r
616         },\r
617       },\r
618       by_system_picture: {\r
619         type: 'list',\r
620       },\r
621       show: {\r
622         type: 'show',\r
623       },\r
624       count: {\r
625         type: 'count',\r
626         args: {\r
627           list_name: 'public',\r
628         },\r
629       },\r
630       count_by_system_picture: {\r
631         type: 'count',\r
632       },\r
633       new: {\r
634         type: 'new',\r
635       },\r
636       edit: {\r
637         type: 'edit',\r
638       },\r
639     },\r
640   },\r
641   license_groups: {\r
642     actions: {\r
643       index: {\r
644         type: 'list',\r
645         args: {\r
646           list_name: 'public',\r
647           \r
648         },\r
649       },\r
650       show: {\r
651         type: 'show',\r
652       },\r
653       count: {\r
654         type: 'count',\r
655         args: {\r
656           list_name: 'public',\r
657         },\r
658       },\r
659       new: {\r
660         type: 'new',\r
661       },\r
662       edit: {\r
663         type: 'edit',\r
664       },\r
665     },\r
666   },\r
667   licenses: {\r
668     actions: {\r
669       index: {\r
670         type: 'list',\r
671         args: {\r
672           list_name: 'public',\r
673           \r
674         },\r
675       },\r
676       by_license_group: {\r
677         type: 'list',\r
678       },\r
679       by_system_picture: {\r
680         type: 'list',\r
681       },\r
682       show: {\r
683         type: 'show',\r
684       },\r
685       count: {\r
686         type: 'count',\r
687         args: {\r
688           list_name: 'public',\r
689         },\r
690       },\r
691       count_by_license_group: {\r
692         type: 'count',\r
693       },\r
694       count_by_system_picture: {\r
695         type: 'count',\r
696       },\r
697       new: {\r
698         type: 'new',\r
699       },\r
700       edit: {\r
701         type: 'edit',\r
702       },\r
703     },\r
704   },\r
705   authors: {\r
706     actions: {\r
707       index: {\r
708         type: 'list',\r
709         args: {\r
710           list_name: 'public',\r
711           \r
712         },\r
713       },\r
714       scrolls: {\r
715         type: 'list',\r
716         args: {\r
717           list_name: 'scrolls',\r
718         },\r
719       },\r
720       comics: {\r
721         type: 'list',\r
722         args: {\r
723           list_name: 'comics',\r
724         },\r
725       },\r
726       stories: {\r
727         type: 'list',\r
728         args: {\r
729           list_name: 'stories',\r
730         },\r
731       },\r
732       sheets: {\r
733         type: 'list',\r
734         args: {\r
735           list_name: 'sheets',\r
736         },\r
737       },\r
738       panels: {\r
739         type: 'list',\r
740         args: {\r
741           list_name: 'panels',\r
742         },\r
743       },\r
744       panel_pictures: {\r
745         type: 'list',\r
746         args: {\r
747           list_name: 'panel_pictures',\r
748         },\r
749       },\r
750       speech_balloons: {\r
751         type: 'list',\r
752         args: {\r
753           list_name: 'speech_balloons',\r
754         },\r
755       },\r
756       ground_pictures: {\r
757         type: 'list',\r
758         args: {\r
759           list_name: 'ground_pictures',\r
760         },\r
761       },\r
762       ground_colors: {\r
763         type: 'list',\r
764         args: {\r
765           list_name: 'ground_colors',\r
766         },\r
767       },\r
768       show: {\r
769         type: 'show',\r
770       },\r
771       count: {\r
772         type: 'count',\r
773         args: {\r
774           list_name: 'public',\r
775         },\r
776       },\r
777       new: {\r
778         type: 'new',\r
779       },\r
780       edit: {\r
781         type: 'edit',\r
782       },\r
783     },\r
784   },\r
785   artists: {\r
786     actions: {\r
787       index: {\r
788         type: 'list',\r
789         args: {\r
790           list_name: 'public',\r
791           \r
792         },\r
793       },\r
794       resource_pictures: {\r
795         type: 'list',\r
796         args: {\r
797           list_name: 'resource_pictures',\r
798         },\r
799       },\r
800       show: {\r
801         type: 'show',\r
802       },\r
803       count: {\r
804         type: 'count',\r
805         args: {\r
806           list_name: 'public',\r
807         },\r
808       },\r
809       new: {\r
810         type: 'new',\r
811       },\r
812       edit: {\r
813         type: 'edit',\r
814       },\r
815     },\r
816   },\r
817   system_pictures: {\r
818     actions: {\r
819       index: {\r
820         type: 'list',\r
821         args: {\r
822           list_name: 'public',\r
823           \r
824         },\r
825       },\r
826       show: {\r
827         type: 'show',\r
828       },\r
829       count: {\r
830         type: 'count',\r
831         args: {\r
832           list_name: 'public',\r
833         },\r
834       },\r
835     },\r
836   },\r
837   home: {\r
838     actions: {\r
839       scrolls: {\r
840         type: 'list',\r
841         args: {\r
842           item_name: 'scroll',\r
843           list_name: 'private',\r
844           \r
845         },\r
846       },\r
847       scroll_panels: {\r
848         type: 'list',\r
849         args: {\r
850           item_name: 'scroll_panel',\r
851           list_name: 'private',\r
852           \r
853         },\r
854       },\r
855       comics: {\r
856         type: 'list',\r
857         args: {\r
858           item_name: 'comic',\r
859           list_name: 'private',\r
860           \r
861         },\r
862       },\r
863       stories: {\r
864         type: 'list',\r
865         args: {\r
866           item_name: 'story',\r
867           list_name: 'private',\r
868           \r
869         },\r
870       },\r
871       story_sheets: {\r
872         type: 'list',\r
873         args: {\r
874           item_name: 'story_sheet',\r
875           list_name: 'private',\r
876           \r
877         },\r
878       },\r
879       sheets: {\r
880         type: 'list',\r
881         args: {\r
882           item_name: 'sheet',\r
883           list_name: 'private',\r
884           \r
885         },\r
886       },\r
887       sheet_panels: {\r
888         type: 'list',\r
889         args: {\r
890           item_name: 'sheet_panel',\r
891           list_name: 'private',\r
892           \r
893         },\r
894       },\r
895       panels: {\r
896         type: 'list',\r
897         args: {\r
898           item_name: 'panel',\r
899           list_name: 'private',\r
900           \r
901         },\r
902       },\r
903       panel_pictures: {\r
904         type: 'list',\r
905         args: {\r
906           item_name: 'panel_picture',\r
907           list_name: 'private',\r
908           \r
909         },\r
910       },\r
911       speech_balloons: {\r
912         type: 'list',\r
913         args: {\r
914           item_name: 'speech_balloon',\r
915           list_name: 'private',\r
916           \r
917         },\r
918       },\r
919       speeches: {\r
920         type: 'list',\r
921         args: {\r
922           item_name: 'speech',\r
923           list_name: 'private',\r
924           \r
925         },\r
926       },\r
927       balloons: {\r
928         type: 'list',\r
929         args: {\r
930           item_name: 'balloon',\r
931           list_name: 'private',\r
932           \r
933         },\r
934       },\r
935       ground_pictures: {\r
936         type: 'list',\r
937         args: {\r
938           item_name: 'ground_picture',\r
939           list_name: 'private',\r
940           \r
941         },\r
942       },\r
943       ground_colors: {\r
944         type: 'list',\r
945         args: {\r
946           item_name: 'ground_color',\r
947           list_name: 'private',\r
948           \r
949         },\r
950       },\r
951       original_pictures: {\r
952         type: 'list',\r
953         args: {\r
954           item_name: 'original_picture',\r
955           list_name: 'private',\r
956           \r
957         },\r
958       },\r
959       resource_pictures: {\r
960         type: 'list',\r
961         args: {\r
962           item_name: 'resource_picture',\r
963           list_name: 'private',\r
964           \r
965         },\r
966       },\r
967     },\r
968   },\r
969 }\r