OSDN Git Service

merge v04
[pettanr/pettanr.git] / config / routes.rb
index 7761f23..353343b 100644 (file)
@@ -82,12 +82,12 @@ Pettanr::Application.routes.draw do
     collection do
       get :index
       get :show
+      get :new
+      post :create
       get :count
       get :list
       get :browse
     end
-    member do
-    end
   end
   resources :original_pictures do
     new do
@@ -106,6 +106,18 @@ Pettanr::Application.routes.draw do
       delete :destroy
     end
   end
+  resources :original_picture_license_groups do
+    collection do
+      get :new
+      post :create
+    end
+  end
+  resources :standard_licenses do
+    collection do
+      get :new
+      post :create
+    end
+  end
   resources :panels do
     collection do
       get :index
@@ -160,6 +172,14 @@ Pettanr::Application.routes.draw do
       get :browse
     end
   end
+  resources :license_groups do
+    collection do
+      get :index
+      get :show
+      get :list
+      get :browse
+    end
+  end
   resources :original_licenses do
     collection do
       get :index