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

@@ -9,7 +9,7 @@
<%= link_to(p.author.avatar(64), p.author, title: p.author.ign) %>
<%= render partial: "users/username", locals: { user: p.author } %>
<%= link_to p do %>
<%= time p.created_at %>
<%= ago p.created_at %>
<% end %>
<span class="comment-counter">
<%= link_to pluralize(p.comments.count, "Comment"), p %>