From b84d2bcc56c6f35498dccef0cbb76af51c5ea19f Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 30 Nov 2010 11:58:29 -0800 Subject: [PATCH] Don't use owns? in streamelement --- app/views/shared/_stream_element.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index 446eec4e9..72c3521e2 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -10,7 +10,7 @@ .from %a{:href => "/people/#{person.id}"}=person.real_name - - if current_user.owns?(post) + - if person.owner_id == current_user.id .aspect ➔ %ul