Commit 9acae6ef authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Improve conflict message in _merge_params.html.haml

parent 63971fff
......@@ -3,9 +3,6 @@
- return unless issuable.is_a?(MergeRequest)
- return if issuable.closed_without_fork?
-# This check is duplicated below in CE to avoid conflicts. It should only exist in CE.
- return unless issuable.can_remove_source_branch?(current_user)
- if issuable.can_remove_source_branch?(current_user)
.form-group
.col-sm-10.col-sm-offset-2
......
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