mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
更改:创建项目标识正则规则以及带.仓库无法正常显示的问题
This commit is contained in:
@@ -18,7 +18,7 @@ defaults format: :json do
|
||||
resources :feedbacks, only: [:create]
|
||||
end
|
||||
|
||||
scope ':repo' do
|
||||
scope ':repo', constraints: { repo: /[^\/]+/ } do
|
||||
# projects
|
||||
resource :projects, path: '/', only: [:show, :update, :edit, :destroy] do
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user