OSDN Git Service

add lg_id in resource picture
[pettanr/pettanr.git] / app / assets / javascripts / manifest / work / controllers.js.coffee.erb
index efc4450..604a318 100644 (file)
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   comics: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   stories: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   sheets: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   sheet_panels: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   panels: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   panel_pictures: {\r
       by_author: {\r
         type: 'list',\r
       },\r
+      by_speech_balloon_template: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
       count_by_author: {\r
         type: 'count',\r
       },\r
+      count_by_speech_balloon_template: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
           \r
         },\r
       },\r
-      by_writing_format: {\r
+      by_author: {\r
         type: 'list',\r
       },\r
       show: {\r
           list_name: 'public',\r
         },\r
       },\r
-      count_by_writing_format: {\r
+      count_by_author: {\r
         type: 'count',\r
       },\r
       new: {\r
           \r
         },\r
       },\r
-      #by_system_picture: {\r
-      #  type: 'list',\r
-      #  args: {\r
-      #    list_name: 'by_system_picture',\r
-      #  },\r
-      #},\r
+      by_author: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_author: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
       show: {\r
         type: 'show',\r
       },\r
+      history: {\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
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   pictures: {\r
           \r
         },\r
       },\r
+      by_artist: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
+      count: {\r
+        type: 'count',\r
+        args: {\r
+          list_name: 'public',\r
+        },\r
+      },\r
+      count_by_artist: {\r
+        type: 'count',\r
+      },\r
     },\r
   },\r
   resource_pictures: {\r
           \r
         },\r
       },\r
-      by_original_picture: {\r
+      by_license_group: {\r
         type: 'list',\r
       },\r
       by_license: {\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_license_group: {\r
+        type: 'count',\r
+      },\r
       count_by_license: {\r
         type: 'count',\r
       },\r
           \r
         },\r
       },\r
+      by_panel: {\r
+        type: 'list',\r
+      },\r
       show: {\r
         type: 'show',\r
       },\r
           list_name: 'public',\r
         },\r
       },\r
+      count_by_panel: {\r
+        type: 'count',\r
+      },\r
       new: {\r
         type: 'new',\r
       },\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   writing_formats: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   license_groups: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   licenses: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   authors: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   artists: {\r
       edit: {\r
         type: 'edit',\r
       },\r
+      create: {\r
+        type: 'create',\r
+      },\r
+      update: {\r
+        type: 'update',\r
+      },\r
+      destroy: {\r
+        type: 'destroy',\r
+      },\r
     },\r
   },\r
   system_pictures: {\r