This commit is contained in:
Toks
2013-04-22 22:03:48 -04:00
parent 7c51a7daa8
commit 3ef06e555b
2 changed files with 11 additions and 2 deletions

View File

@@ -13,7 +13,12 @@
<% @forum_posts.each do |forum_post| %>
<tr>
<td><%= link_to forum_post.topic.title, forum_topic_path(forum_post.topic) %></td>
<td><%= link_to truncate(forum_post.body, :length => 50), forum_post_path(forum_post) %></td>
<td>
<%= link_to truncate(forum_post.body, :length => 50), forum_post_path(forum_post) %>
<% if forum_post.is_deleted? %>
(deleted)
<% end %>
</td>
<td><%= link_to_user forum_post.creator %></td>
<td><%= time_ago_in_words_tagged forum_post.created_at %></td>
</tr>