Skip to content

Commit

Permalink
remove pluralize again (got readded in merge)
Browse files Browse the repository at this point in the history
  • Loading branch information
20wildmanj committed Feb 10, 2024
1 parent 27c8b27 commit bc2d59d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,6 @@ def set_users_list_breadcrumb
end
### END HELPERS

def pluralize(count, singular, plural = nil)
"#{count || 0} " +
(count == 1 || count =~ /^1(\.0+)?$/ ? singular : (plural || singular.pluralize))
end

# make_dlist - Creates a string of emails that can be added as b/cc field.
# @param section The section to email. nil if we should email the entire
# class.
Expand Down

0 comments on commit bc2d59d

Please sign in to comment.