diff options
author | kushalpandya <kushal@gitlab.com> | 2017-05-31 12:47:41 +0530 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-06-01 07:47:16 +0200 |
commit | 576e30ee60f02c8af4cc50e3cc44b9f519e89170 (patch) | |
tree | 5bc18e529e17f2152e1c3196cb06e5368f3d5244 | |
parent | 325c55fb24e00883ee11738bd0f3695e45ace468 (diff) | |
download | gitlab-ce-576e30ee60f02c8af4cc50e3cc44b9f519e89170.tar.gz |
Provide `test-url` via backend
-rw-r--r-- | app/views/projects/services/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/services/_form.html.haml b/app/views/projects/services/_form.html.haml index 8eeed5cda09..0f91f08ab10 100644 --- a/app/views/projects/services/_form.html.haml +++ b/app/views/projects/services/_form.html.haml @@ -9,7 +9,7 @@ %p= @service.description .col-lg-9 - = form_for(@service, as: :service, url: namespace_project_service_path(@project.namespace, @project, @service.to_param), method: :put, html: { class: 'gl-show-field-errors form-horizontal js-integration-settings-form', data: { "can-test" => "#{@service.can_test?}" } }) do |form| + = form_for(@service, as: :service, url: namespace_project_service_path(@project.namespace, @project, @service.to_param), method: :put, html: { class: 'gl-show-field-errors form-horizontal js-integration-settings-form', data: { "can-test" => "#{@service.can_test?}", "test-url" => "#{test_namespace_project_service_path(@project.namespace, @project, @service)}" } }) do |form| = render 'shared/service_settings', form: form, subject: @service .footer-block.row-content-block %button.btn.btn-save{ type: 'submit' } |