OSDN Git Service

fix play
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
index d2854d0..026c832 100644 (file)
@@ -1,5 +1,33 @@
 #マニフェスト\r
 @controllers = {\r
+  folders: {\r
+    actions: {\r
+      root: {\r
+        type: 'show',\r
+      },\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      show: {\r
+        type: 'show',\r
+      },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
+    },\r
+  },\r
   scrolls: {\r
     actions: {\r
       index: {\r
@@ -17,6 +45,7 @@
       play: {\r
         type: 'list',\r
         args: {\r
+          item_name: 'scroll_panel',\r
           list_name: 'play',\r
         },\r
       },\r
       play: {\r
         type: 'list',\r
         args: {\r
+          item_name: 'sheet_panel',\r
           list_name: 'play',\r
         },\r
       },\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   speech_balloons: {\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   speeches: {\r
       count_by_writing_format: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   balloons: {\r
           list_name: 'public',\r
         },\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   ground_pictures: {\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   ground_colors: {\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   original_pictures: {\r
   },\r
   pictures: {\r
     actions: {\r
+      index: {\r
+        type: 'list',\r
+        args: {\r
+          list_name: 'public',\r
+          \r
+        },\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           \r
         },\r
       },\r
+      by_original_picture: {\r
+        type: 'list',\r
+      },\r
       by_license: {\r
         type: 'list',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   writing_formats: {\r
       count_by_system_picture: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   license_groups: {\r
           list_name: 'public',\r
         },\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   licenses: {\r
       count_by_system_picture: {\r
         type: 'count',\r
       },\r
+      new: {\r
+        type: 'new',\r
+      },\r
+      edit: {\r
+        type: 'edit',\r
+      },\r
     },\r
   },\r
   authors: {\r