From e4dcd9dff59dd2dcc6e0657b53b8210bc7280cbe Mon Sep 17 00:00:00 2001 From: xxq250 Date: Mon, 20 May 2024 14:52:06 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E5=90=88=E5=B9=B6=E4=B8=BB=E5=B9=B2?= =?UTF-8?q?=E6=89=80=E6=9C=89=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 841caf9b1..86466ddc3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -936,8 +936,6 @@ Rails.application.routes.draw do get :contrast, on: :collection end - resources :users do - get :export, on: :collection resources :organizations, only: [:index, :edit, :show, :destroy] do member do post :open_cla @@ -945,6 +943,7 @@ Rails.application.routes.draw do end end resources :users, only: [:index, :edit, :update, :destroy] do + get :export, on: :collection member do post :reward_grade post :lock @@ -1075,7 +1074,7 @@ Rails.application.routes.draw do resources :nps do post :switch_change, on: :collection end - resources :feedbacks, only: [:index, :destroy] do + resources :feedbacks, only: [:index, :destroy] do get :new_history, on: :member post :create_history, on: :member end