debian-mirror-gitlab/app/helpers/count_helper.rb
2018-10-15 14:42:47 +05:30

5 lines
152 B
Ruby

module CountHelper
def approximate_count_with_delimiters(model)
number_with_delimiter(Gitlab::Database::Count.approximate_count(model))
end
end