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