Don't use owns? in streamelement

This commit is contained in:
Raphael 2010-11-30 11:58:29 -08:00
parent 4fa3e801a8
commit b84d2bcc56

View file

@ -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