diff --git a/app/views/categories/index.html.erb b/app/views/categories/index.html.erb index fdad186..00565e7 100755 --- a/app/views/categories/index.html.erb +++ b/app/views/categories/index.html.erb @@ -26,8 +26,8 @@ <%= link_to forum.title, forum_path(forum) %>
<%= forum.description %>
- <%= forum.topics.size %> - <%= forum.posts.size - forum.topics.size %> + <%= forum.topics.count %> + <%= forum.posts.count %> <% if forum.posts.size > 0 %> <%=l forum.posts.last.created_at %>