rename time helper to ago
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user