Commit 8850884a authored by Sean Carroll's avatar Sean Carroll

Correct link to Merge trains documentation on MR widget

Closes #34406

See merge request !19726
parent 2554bdc0
Pipeline #94746183 passed with stages
in 87 minutes and 35 seconds
---
title: Correct link to Merge trains documentation on MR widget
merge_request: https://gitlab.com/gitlab-org/gitlab/merge_requests/19726
author:
type: changed
......@@ -17,6 +17,10 @@ module EE
expose :merge_train_index, if: -> (merge_request) { merge_request.on_train? } do |merge_request|
merge_request.merge_train.index
end
expose :merge_train_when_pipeline_succeeds_docs_path do |merge_request|
presenter(merge_request).merge_train_when_pipeline_succeeds_docs_path
end
end
end
end
......@@ -22,7 +22,8 @@
"api_approvals_path": { "type": "string" },
"api_approval_settings_path": { "type": "string" },
"api_approve_path": { "type": "string" },
"api_unapprove_path": { "type": "string" }
"api_unapprove_path": { "type": "string" },
"merge_train_when_pipeline_succeeds_docs_path": { "type": ["string", "null"] }
}
}
]
......
......@@ -20,7 +20,8 @@
"vulnerability_feedback_path": { "type": "string" },
"create_vulnerability_feedback_issue_path": { "type": ["string", "null"] },
"create_vulnerability_feedback_merge_request_path": { "type": ["string", "null"] },
"create_vulnerability_feedback_dismissal_path": { "type": ["string", "null"] }
"create_vulnerability_feedback_dismissal_path": { "type": ["string", "null"] },
"merge_train_when_pipeline_succeeds_docs_path": { "type": ["string", "null"] }
}
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment