From b6c63168868036b4ebec14bd7081ec69afcdf1b2 Mon Sep 17 00:00:00 2001 From: maxwell Date: Mon, 28 Jun 2010 15:03:45 -0700 Subject: [PATCH] trying to fix status message bug --- app/views/status_messages/_status_message.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/status_messages/_status_message.html.haml b/app/views/status_messages/_status_message.html.haml index a0dc4336b..f9ec3c03b 100644 --- a/app/views/status_messages/_status_message.html.haml +++ b/app/views/status_messages/_status_message.html.haml @@ -3,7 +3,7 @@ = link_to_person post.person = post.message %div.time - = link_to "#{time_ago_in_words(post.updated_at)} ago", status_message_path(post) + = link_to(how_long_ago(post), status_message_path(post)) = render "comments/comments", :post => post - if mine?(post) = link_to 'Destroy', status_message_path(post), :confirm => 'Are you sure?', :method => :delete