debian-mirror-gitlab/app/helpers/count_helper.rb

6 lines
152 B
Ruby
Raw Normal View History

2018-10-15 14:42:47 +05:30
module CountHelper
def approximate_count_with_delimiters(model)
number_with_delimiter(Gitlab::Database::Count.approximate_count(model))
end
end