OSDN Git Service

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