summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-01-27 19:37:44 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-01-27 19:37:44 +0000
commit437722be388385aba95f47c63334ef496ff2cfaa (patch)
treedf32232eda706e4fc0404ff910c6899530adf202
parent2f78ee2989cd470d33593e0779ebea13d6de9df7 (diff)
parentf68eceadcbf511d6dd2869e298850634562b6c07 (diff)
downloadgitlab-ce-437722be388385aba95f47c63334ef496ff2cfaa.tar.gz
Merge branch 'fix-cancel-integration-settings' into 'master'
Fixed cancel button in the services form not redirecting back to the integrations settings view Closes #27301 See merge request !8843
-rw-r--r--app/views/projects/services/_form.html.haml2
-rw-r--r--changelogs/unreleased/fix-cancel-integration-settings.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/services/_form.html.haml b/app/views/projects/services/_form.html.haml
index fc338dcf887..f1a80f1d5e1 100644
--- a/app/views/projects/services/_form.html.haml
+++ b/app/views/projects/services/_form.html.haml
@@ -17,4 +17,4 @@
- disabled_title = @service.disabled_title
= link_to 'Test settings', test_namespace_project_service_path(@project.namespace, @project, @service), class: "btn #{disabled_class}", title: disabled_title
- = link_to "Cancel", namespace_project_services_path(@project.namespace, @project), class: "btn btn-cancel"
+ = link_to "Cancel", namespace_project_settings_integrations_path(@project.namespace, @project), class: "btn btn-cancel"
diff --git a/changelogs/unreleased/fix-cancel-integration-settings.yml b/changelogs/unreleased/fix-cancel-integration-settings.yml
new file mode 100644
index 00000000000..294b0aa5db9
--- /dev/null
+++ b/changelogs/unreleased/fix-cancel-integration-settings.yml
@@ -0,0 +1,4 @@
+---
+title: Fixed services form cancel not redirecting back the integrations settings view
+merge_request: 8843
+author: