summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorGabriel Gizotti <gabriel@gizotti.com>2016-11-25 06:46:16 +1000
committerGabriel Gizotti <gabriel@gizotti.com>2016-12-16 19:13:17 +1000
commitc1515cd865ec11110f9b34c41a41747dcbc3b402 (patch)
treec7403a0de3279aedb3a258d9f7566905cc9bd312 /app/helpers
parent80915c35f48463c3a983129961f3130bd9703754 (diff)
downloadgitlab-ce-c1515cd865ec11110f9b34c41a41747dcbc3b402.tar.gz
better mentioned but not closing message and icon
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/merge_requests_helper.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/helpers/merge_requests_helper.rb b/app/helpers/merge_requests_helper.rb
index dcd35dc6282..20218775659 100644
--- a/app/helpers/merge_requests_helper.rb
+++ b/app/helpers/merge_requests_helper.rb
@@ -63,13 +63,6 @@ module MergeRequestsHelper
@mr_issues_mentioned_but_not_closing ||= @merge_request.issues_mentioned_but_not_closing
end
- def mr_issues_mentioned_but_not_closing_message
- verb = mr_issues_mentioned_but_not_closing.size > 1 ? 'are' : 'is'
- issue_text = 'issue'.pluralize(mr_issues_mentioned_but_not_closing.size)
-
- "The following #{issue_text} #{verb} mentioned but not being closed:"
- end
-
def mr_change_branches_path(merge_request)
new_namespace_project_merge_request_path(
@project.namespace, @project,