summaryrefslogtreecommitdiff
path: root/config/routes/group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r--config/routes/group.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 37bc6085931..093cde64c85 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -30,7 +30,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
as: :group,
constraints: { group_id: Gitlab::PathRegex.full_namespace_route_regex }) do
namespace :settings do
- resource :ci_cd, only: [:show], controller: 'ci_cd' do
+ resource :ci_cd, only: [:show, :update], controller: 'ci_cd' do
put :reset_registration_token
patch :update_auto_devops
end
@@ -77,6 +77,8 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
post :pause
end
end
+
+ resources :container_registries, only: [:index], controller: 'registry/repositories'
end
scope(path: '*id',