From ea18c722efdbb079eaaedca8664358f6cc456026 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 3 Jul 2019 18:10:08 +1200 Subject: [PATCH] lower caseon pluralizing --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 97ca00136..8f2a971bc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -60,7 +60,7 @@ module ApplicationHelper # Returns a string with the quantity and the right pluralization for a # given collection and model. def localize_plural(collection, model) - pluralize(collection.size, model.model_name.to_s) + pluralize(collection.size, model.model_name.downcase.to_s) end def show_inactive_tickbox_path(type, owner, show_all)