OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / config / routes.rb
index 63f9e7e..36da091 100644 (file)
@@ -179,10 +179,6 @@ Pettanr::Application.routes.draw do
       get :by_story
       get :by_panel
       get :by_author
-      get :story_sheets_count
-      get :stories_count
-      get :sheet_panels_count
-      get :panels_count
       get :count_by_story
       get :count_by_panel
       get :count_by_author
@@ -288,9 +284,8 @@ Pettanr::Application.routes.draw do
       get :count
     end
     member do
-      get :by_speech_balloon
-      #get :by_system_picture
-      get :count_by_speech_balloon
+      get :by_author
+      get :count_by_author
       get :edit
       put :update
     end
@@ -302,10 +297,8 @@ Pettanr::Application.routes.draw do
       get :count
     end
     member do
-      get :by_speech_balloon
-      get :by_writing_format
-      get :count_by_speech_balloon
-      get :count_by_writing_format
+      get :by_author
+      get :count_by_author
       get :edit
       put :update
     end
@@ -372,11 +365,11 @@ Pettanr::Application.routes.draw do
       get :count
       get :credit
       get :search
-      get :list
     end
     member do
+      get :by_artist
+      get :count_by_artist
       get :credit
-      get :browse
     end
   end
   resources :resource_pictures do
@@ -390,10 +383,8 @@ Pettanr::Application.routes.draw do
     end
     member do
       get :by_license
-        get :by_license_group
       get :by_artist
       get :count_by_license
-        get :count_by_license_group
       get :count_by_artist
       delete :destroy
       get :credit
@@ -404,12 +395,14 @@ Pettanr::Application.routes.draw do
       get :index
       get :show
       get :count
+      post :create
     end
     member do
       get :by_panel
       get :by_system_picture
       get :count_by_system_picture
       get :count_by_panel
+      put :update
       delete :destroy
     end
   end
@@ -418,12 +411,15 @@ Pettanr::Application.routes.draw do
       get :index
       get :show
       get :count
+      post :create
     end
     member do
       get :speeches
       get :by_system_picture
       get :speeches_count
       get :count_by_system_picture
+      put :update
+      delete :destroy
     end
   end
   resources :license_groups do
@@ -431,10 +427,12 @@ Pettanr::Application.routes.draw do
       get :index
       get :show
       get :count
+      post :create
     end
     member do
       get :licenses
       get :licenses_count
+      put :update
       delete :destroy
     end
   end
@@ -444,6 +442,7 @@ Pettanr::Application.routes.draw do
       get :show
       get :count
       get :search
+      post :create
     end
     member do
       get :resource_pictures
@@ -452,6 +451,8 @@ Pettanr::Application.routes.draw do
       get :resource_pictures_count
       get :count_by_license_group
       get :count_by_system_picture
+      put :update
+      delete :destroy
     end
   end
   resources :authors do