From 05e3036a2f40ec9c67f5019d87d717bb552ba5b7 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Tue, 8 Oct 2024 11:17:14 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=20=E5=88=A0=E9=99=A4=E7=BB=84=E7=BB=87?= =?UTF-8?q?id=E6=94=AF=E6=8C=81=E7=89=B9=E6=AE=8A=E7=AC=A6=E5=8F=B7?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index aab65db4c..501a024b4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -142,7 +142,7 @@ Rails.application.routes.draw do post '/blockchain/issue/get_token_num', to: 'users#blockchain_get_issue_token_num' get '/projects/blockchain/get_unclosed_issue_list', to: 'users#blockchain_get_unclosed_issue_list' - resources :owners, only: [:index, :show], constraints: { id: /[^\/]+/ } + resources :owners, only: [:index, :show] scope module: :organizations do resources :organizations, except: [:edit, :new] do