OSDN Git Service

fix
[pettanr/pettanr.git] / config / routes.rb
index 6d9c7f7..6299c42 100644 (file)
@@ -67,8 +67,10 @@ Pettanr::Application.routes.draw do
     member do
       get :by_panel
       get :by_scroll
+      get :by_author
       get :count_by_panel
       get :count_by_scroll
+      get :count_by_author
       get :edit
       put :update
       delete :destroy
@@ -135,8 +137,10 @@ Pettanr::Application.routes.draw do
     member do
       get :by_story
       get :by_sheet
+      get :by_author
       get :count_by_story
       get :count_by_sheet
+      get :count_by_author
       get :edit
       put :update
       delete :destroy
@@ -185,8 +189,10 @@ Pettanr::Application.routes.draw do
     member do
       get :by_sheet
       get :by_panel
+      get :by_author
       get :count_by_sheet
       get :count_by_panel
+      get :count_by_author
       get :edit
       put :update
       delete :destroy
@@ -423,6 +429,7 @@ Pettanr::Application.routes.draw do
     collection do
       get :index
       get :show
+      get :count
       get :search
     end
     member do