From eb6a98443c83f32aa7a3a446d5fdc20cae9777d7 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Fri, 24 Feb 2017 16:05:10 -0600 Subject: [PATCH] added comment timestamps completes #103 --- app/views/admin/result/_comment.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/admin/result/_comment.html.erb b/app/views/admin/result/_comment.html.erb index d47d8be..52d261c 100644 --- a/app/views/admin/result/_comment.html.erb +++ b/app/views/admin/result/_comment.html.erb @@ -7,6 +7,8 @@ <% if comment.edits? %>
Updated <%= time_ago_in_words(comment.updated_at) %> ago
+ <% else %> +
<%= time_ago_in_words(comment.created_at) %> ago
<% end %>