Don't use owns? in streamelement
This commit is contained in:
parent
4fa3e801a8
commit
b84d2bcc56
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue