rename time helper to ago

This commit is contained in:
jomo
2014-11-15 21:02:30 +01:00
parent 110bc2a248
commit d2efe44de5
10 changed files with 14 additions and 14 deletions

View File

@@ -20,11 +20,11 @@
<% if last_reply && last_reply.created_at > last_thread.created_at %>
<%= last_reply.author.name %>
<%= link_to "replied", forumthread_path(last_reply.thread) + "#reply-#{last_reply.id}" %>
<%= time last_reply.created_at %>.
<%= ago last_reply.created_at %>.
<% else %>
<%= last_thread.author.name %>
<%= link_to "posted", forumthread_path(last_thread) %>
<%= time last_thread.created_at %>.
<%= ago last_thread.created_at %>.
<% end %>
<% else %>
No posts yet.