OSDN Git Service

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