This commit is contained in:
albert
2013-03-17 20:33:25 -04:00
parent 9210a72c4c
commit 28a40aeee4
6 changed files with 38 additions and 3 deletions

View File

@@ -8,6 +8,10 @@
<div class="content">
<div class="body prose">
<%= format_text(comment.body) %>
<% if comment.updater_id.present? && (comment.updater_id != comment.creator_id || comment.created_at != comment.updated_at) %>
<p class="info">Updated by <%= link_to comment.updater_name, user_path(comment.updater_id) %> <%= time_ago_in_words_tagged(comment.updated_at) %>.</p>
<% end %>
</div>
<menu>
<% if @post || @posts %>