1993a4449a
Partially addresses #47424.
11 lines
248 B
Ruby
11 lines
248 B
Ruby
# frozen_string_literal: true
|
|
|
|
module CountHelper
|
|
def approximate_count_with_delimiters(count_data, model)
|
|
count = count_data[model]
|
|
|
|
raise "Missing model #{model} from count data" unless count
|
|
|
|
number_with_delimiter(count)
|
|
end
|
|
end
|