Skip to content
Snippets Groups Projects
Commit 5f537676 authored by ArtOfCode-'s avatar ArtOfCode-
Browse files

Use size for count

parent 4ea4d227
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
</div>
<% end %>
<% post_count = @posts.count %>
<% post_count = @posts.to_a.size %>
<div class="has-color-tertiary-500 category-meta" title="<%= post_count %>">
<div>
<%= short_number_to_human post_count, precision: 1, significant: false %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment