Skip to content

Commit

Permalink
Add date helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
winston committed Feb 21, 2016
1 parent 1dc9d3d commit 61784e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/grams/index.html.erb
Expand Up @@ -9,7 +9,7 @@
Me
</div>
<div>
<%= link_to gram.created_at, gram_path(gram) %>
<%= link_to time_ago_in_words(gram.created_at), gram_path(gram) %>
<%= link_to 'X', gram_path(gram), method: :delete, data: { confirm: 'Are you sure you want to delete this Gram?'} %>
</div>
</div>
Expand Down

0 comments on commit 61784e4

Please sign in to comment.