summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-26 06:08:40 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-26 06:08:40 +0000
commit116d4e56e83a1f408afe710ce070e699ba206475 (patch)
treecc62d3820d9bfa199061edfdef3a2f4bda140507 /config
parentdddde902acfa6acfb11583c61faa67cc7c8d11b6 (diff)
downloadgitlab-ce-116d4e56e83a1f408afe710ce070e699ba206475.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r--config/routes/admin.rb2
-rw-r--r--config/routes/group.rb6
2 files changed, 7 insertions, 1 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index c92484316e4..116c607c2cb 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -121,7 +121,7 @@ namespace :admin do
get '/', to: redirect('admin/application_settings/general'), as: nil
resources :services, only: [:index, :edit, :update]
- resources :integrations, only: [:edit, :update, :test] do
+ resources :integrations, only: [:edit, :update] do
member do
put :test
end
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 1d51b3fb6fe..97d339fea98 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -31,6 +31,12 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
patch :update_auto_devops
post :create_deploy_token, path: 'deploy_token/create'
end
+
+ resources :integrations, only: [:index, :edit, :update] do
+ member do
+ put :test
+ end
+ end
end
resource :variables, only: [:show, :update]