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

@@ -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)) %>