Skip to content
Snippets Groups Projects
Commit 9750de49 authored by Robert Speicher's avatar Robert Speicher
Browse files

Simplify the `issues_sentence` helper

parent a3a80eac
No related branches found
No related tags found
1 merge request!1598Simplify the `issues_sentence` helper
Pipeline #
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment