summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2018-02-24 03:18:14 +0000
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2018-03-07 17:50:11 +0000
commitef15668d8214e8cce5732525c872d5b8f57e337a (patch)
treeb76633818d52f91567971a45d34a4a7b84e91142 /config
parent6253d4456a98613b419d766a03af7ff9b9fcf2af (diff)
downloadgitlab-ce-ef15668d8214e8cce5732525c872d5b8f57e337a.tar.gz
Service integration displays validation errors on test fail
Fixes attempts to update a service integration which had `can_test?` set to true but validations were causing the "Test and save changes" button to return "Something went wrong on our end." Removes references to index action left from 0af99433143727088b6a0a1b2163751c05d80ce6
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index cb46c439415..710fe0ec325 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -69,7 +69,7 @@ constraints(ProjectUrlConstrainer.new) do
end
end
- resources :services, constraints: { id: %r{[^/]+} }, only: [:index, :edit, :update] do
+ resources :services, constraints: { id: %r{[^/]+} }, only: [:edit, :update] do
member do
put :test
end