From 652a7c2120b7d7dbc299114e84294326e1f3b608 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Tue, 22 Jan 2013 10:31:36 -0500 Subject: [PATCH] Fixed topic & post counts in category#index --- app/views/categories/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %>