提交 e2045f5e 编写于 作者: D Douwe Maan

Merge branch 'rs-issues_sentence' into 'master'

Simplify the `issues_sentence` helper



See merge request !1598
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册