OSDN Git Service

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