X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..34dd2293db85e28b7e5df0889b0b778a685306bb:/app/views/diary_entries/comments.html.erb?ds=sidebyside diff --git a/app/views/diary_entries/comments.html.erb b/app/views/diary_entries/comments.html.erb index 4c4fd01e9..56dba30b8 100644 --- a/app/views/diary_entries/comments.html.erb +++ b/app/views/diary_entries/comments.html.erb @@ -10,9 +10,9 @@ <% @comments.each do |comment| -%> <% cl = cycle("table0", "table1") %> - + "> <%= link_to comment.diary_entry.title, diary_entry_path(comment.diary_entry.user, comment.diary_entry) %> - <%= t ".ago", :ago => time_ago_in_words(comment.created_at) %> + <%= time_ago_in_words(comment.created_at, :scope => :'datetime.distance_in_words_ago') %> <%= comment.body.to_html %> <% end -%>