diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 06:12:25 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 06:12:25 +0000 |
commit | 2bfa43cf3a8b0bb25a85066ff48db58f068bc493 (patch) | |
tree | 7ba5f89b4953742f025f5c8e0911cd1f964bb2e5 /config/routes/unmatched_project.rb | |
parent | 188f99dcc3de4678b308851d1cd8d26a200393cd (diff) | |
download | gitlab-ce-2bfa43cf3a8b0bb25a85066ff48db58f068bc493.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/unmatched_project.rb')
-rw-r--r-- | config/routes/unmatched_project.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/routes/unmatched_project.rb b/config/routes/unmatched_project.rb index b4fe243c7b0..3f94af33e18 100644 --- a/config/routes/unmatched_project.rb +++ b/config/routes/unmatched_project.rb @@ -1,11 +1,11 @@ # frozen_string_literal: true scope(path: '*namespace_id', - as: :namespace, - namespace_id: Gitlab::PathRegex.full_namespace_route_regex) do + as: :namespace, + namespace_id: Gitlab::PathRegex.full_namespace_route_regex) do scope(path: ':project_id', - constraints: { project_id: Gitlab::PathRegex.project_route_regex }, - as: :project) do + constraints: { project_id: Gitlab::PathRegex.project_route_regex }, + as: :project) do post '*all', to: 'application#route_not_found' put '*all', to: 'application#route_not_found' patch '*all', to: 'application#route_not_found' |