diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index 0a4d2b84eca..fbe200878ab 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -72,6 +72,6 @@ def all_countries_with_subdivisions end def link_or_text_for_count(count, path) - count.zero? ? '0' : link_to(count, path) + link_to_if !count.zero?, count, path end end