Skip to content
Browse files

Fixed issue with missing #relative_date (not sure why).

  • Loading branch information...
1 parent db7e658 commit 1b26cc3286c167d2fcb56d010a1a54c07d3fd91f @mtodd committed Apr 22, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/views/shared/_post.html.erb
View
3 app/views/shared/_post.html.erb
@@ -1,4 +1,5 @@
<div id="post-<%= post.id %>" class="post">
<p class="body"><%= h(post.body) %></p>
- <p class="created"><%= relative_date(post.created_at) %></p>
+ <p class="created" style="display: none;"><%= relative_date(post.created_at) rescue nil %></p>
+ <p class="created"><%= post.created_at %></p>
</div>

0 comments on commit 1b26cc3

Please sign in to comment.
Something went wrong with that request. Please try again.