add ubiquitous time tags

This commit is contained in:
albert
2013-01-22 15:28:12 -05:00
parent c163139390
commit 9e6a25f844
16 changed files with 19 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
<% end %>
</h4>
<p>
<%= time_ago_in_words(forum_post.created_at) %> ago
<%= time_ago_in_words_tagged(forum_post.created_at) %> ago
</p>
</div>
<div class="content">

View File

@@ -15,7 +15,7 @@
<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><%= forum_post.creator.name %></td>
<td><%= time_ago_in_words forum_post.created_at %> ago</td>
<td><%= time_ago_in_words_tagged forum_post.created_at %> ago</td>
</tr>
<% end %>
</tbody>