summaryrefslogtreecommitdiff
path: root/app/views/notify/merge_request_unmergeable_email.text.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/merge_request_unmergeable_email.text.haml')
-rw-r--r--app/views/notify/merge_request_unmergeable_email.text.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/merge_request_unmergeable_email.text.haml b/app/views/notify/merge_request_unmergeable_email.text.haml
index 4f0901c761a..e4f9f1bf5e7 100644
--- a/app/views/notify/merge_request_unmergeable_email.text.haml
+++ b/app/views/notify/merge_request_unmergeable_email.text.haml
@@ -1,4 +1,4 @@
-Merge Request #{@merge_request.to_reference} can no longer be merged due to the following #{pluralize(@reasons, 'reason')}:
+Merge Request #{@merge_request.to_reference} can no longer be merged due to the following #{'reason'.pluralize(@reasons.count)}:
- @reasons.each do |reason|
* #{reason}