mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-17 08:36:06 +10:00
Merge branch 'rs-issues_sentence' into 'master'
Simplify the `issues_sentence` helper See merge request !1598
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user