diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index 3a65f70..38c68d6 100755 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -10,12 +10,14 @@
+ <% i = 0 %> <% @posts.each do |post| %> - <% if !post.user.blank? %> + <% i += 1 %> + <% if !post.user.blank? %>