module CmAdmin::ViewHelpers

def humanized_ar_collection_count(count, model_name)

def humanized_ar_collection_count(count, model_name)
  table_name = count == 1 ? model_name.singularize : model_name.pluralize
  "#{count} #{table_name.humanize.downcase} found"
end