Browse Source

fixed 删除组织id支持特殊符号代码

pull/347/head
xxq250 1 year ago
parent
commit
05e3036a2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/routes.rb

+ 1
- 1
config/routes.rb View File

@@ -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


Loading…
Cancel
Save