fixed double timestamps in post/show

This commit is contained in:
albert
2013-02-23 21:04:29 -05:00
parent d754d85bdb
commit 86e938830f

View File

@@ -1,7 +1,7 @@
<ul>
<li>ID: <%= post.id %></li>
<li>Uploader: <%= link_to_unless(post.uploader.nil?, post.uploader_name, user_path(post.uploader)) %></li>
<li>Date: <time datetime="<%= post.created_at.iso8601 %>" title="<%= post.created_at.to_date %>"><%= raw time_ago_in_words_tagged(post.created_at).gsub(/about/, "") %></time></li>
<li>Date: <%= raw time_ago_in_words_tagged(post.created_at).gsub(/about/, "") %></li>
<% if post.approver %>
<li>Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %></li>
<% end %>