rename time helper to ago
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<%= link_to(c.author.avatar(64), c.author, title: c.author.ign) %>
|
||||
<%= render partial: "users/username", locals: { user: c.author } %>
|
||||
<%= link_to "#comment-#{c.id}" do %>
|
||||
<%= time c.created_at %>
|
||||
<%= ago c.created_at %>
|
||||
<% end %>
|
||||
|
||||
<%= link_to "edit", edit_blogpost_comment_path(c.blogpost, c), class: "editlink" if (mod? || c.author.is?(current_user)) %>
|
||||
|
||||
Reference in New Issue
Block a user