Skip to content
代码片段 群组 项目
提交 c3ee8bc5 编辑于 作者: Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets 提交者: Matthias Käppler
浏览文件

Rename repository_scoped to repository


The scoped routing is a default behavior now so we can rename
repository_scoped to repository. Deprecated routes are located in
repository_deprecated

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
上级 1ffc06c7
No related branches found
No related tags found
无相关合并请求
...@@ -385,7 +385,7 @@ ...@@ -385,7 +385,7 @@
# The wiki and repository routing contains wildcard characters so # The wiki and repository routing contains wildcard characters so
# its preferable to keep it below all other project routes # its preferable to keep it below all other project routes
draw :repository_scoped draw :repository
draw :wiki draw :wiki
namespace :import do namespace :import do
......
文件已移动
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Repository routes without /-/ scope. # Repository routes without /-/ scope.
# Issue https://gitlab.com/gitlab-org/gitlab/-/issues/28848. # Issue https://gitlab.com/gitlab-org/gitlab/-/issues/28848.
# Do not add new routes here. Add new routes to repository_scoped.rb instead # Do not add new routes here. Add new routes to repository.rb instead
# (see https://docs.gitlab.com/ee/development/routing.html#project-routes). # (see https://docs.gitlab.com/ee/development/routing.html#project-routes).
resource :repository, only: [:create] resource :repository, only: [:create]
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册