diff --git a/app/views/forums/index.html.erb b/app/views/forums/index.html.erb index df3d590..0e816fb 100644 --- a/app/views/forums/index.html.erb +++ b/app/views/forums/index.html.erb @@ -16,7 +16,7 @@ <%= link_to f.name, f, id: "forum-#{f.id}"%>
<% if trd = f.threads.last %> - <%= trd.author.name %> <%= link_to "posted", forumthread_path(f) %> . + <%= trd.author.name %> <%= link_to "posted", forumthread_path(trd) %> . <% else %> No posts yet. <% end %>