changes how comment.created_at is shown

time_ago_in_words is not cache friendly
This commit is contained in:
Juanjo Bazán
2015-09-09 14:57:27 +02:00
parent e24e9e7be8
commit 811c329199
4 changed files with 6 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
<% end %>
&nbsp;&bullet;&nbsp;<%= time_ago_in_words(comment.created_at) %>
&nbsp;&bullet;&nbsp;<%= l comment.created_at.to_datetime, format: :datetime %>
</div>
<% if comment.as_administrator? %>