Commit e2045f5e authored by Douwe Maan's avatar Douwe Maan

Merge branch 'rs-issues_sentence' into 'master'

Simplify the `issues_sentence` helper



See merge request !1598
parents 7ad68523 9750de49
......@@ -47,7 +47,7 @@ module MergeRequestsHelper
end
def issues_sentence(issues)
issues.map { |i| "##{i.iid}" }.to_sentence
issues.map(&:to_reference).to_sentence
end
def mr_change_branches_path(merge_request)
......
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