OSDN Git Service

t#29312:any update
[pettanr/pettanr.git] / config / routes.rb
index f9c7f47..6a1e38c 100644 (file)
@@ -109,6 +109,7 @@ Pettanr::Application.routes.draw do
     collection do
       get :index
       get :show
+      get :history
       post :create
       get :list
       get :browse
@@ -127,6 +128,34 @@ Pettanr::Application.routes.draw do
       post :create
     end
   end
+  resources :colors do
+    collection do
+      get :index
+    end
+    member do
+    end
+  end
+  resources :panel_colors do
+    collection do
+      get :index
+    end
+    member do
+    end
+  end
+  resources :ground_colors do
+    collection do
+      get :index
+    end
+    member do
+    end
+  end
+  resources :ground_pictures do
+    collection do
+      get :index
+    end
+    member do
+    end
+  end
   resources :panels do
     new do
       get :new
@@ -192,35 +221,6 @@ Pettanr::Application.routes.draw do
       get :browse
     end
   end
-  resources :original_licenses do
-    collection do
-      get :index
-      get :show
-      get :new
-      post :create
-      post :import
-      get :list
-      get :browse
-    end
-    member do
-      get :edit
-      put :update
-      delete :destroy
-    end
-  end
-  resources :common_licenses do
-    collection do
-      get :index
-      get :show
-      post :import
-      get :list
-      get :browse
-    end
-    member do
-      put :update
-      delete :destroy
-    end
-  end
   resources :system_pictures do
     collection do
       get :index
@@ -244,7 +244,6 @@ Pettanr::Application.routes.draw do
   match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
   match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
   match 'home/(:action)', :controller => 'home'
-  match 'help/(:action)', :controller => 'help'
   match 'system/(:action)', :controller => 'system'
   match 'authors/(:action(/:id))', :controller => 'authors'