fixing person show on stranger
This commit is contained in:
parent
39380c3c06
commit
e1d6c9ce03
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
-unless @posts.first.nil?
|
||||
%li
|
||||
%i= "last seen: #{how_long_ago(@posts.first)}"
|
||||
- unless @person == current_user.person || not current_user.friends.include?(@person)
|
||||
- if @person != current_user.person && current_user.friends.include?(@person)
|
||||
%li
|
||||
%i= "friends since: #{how_long_ago(@person)}"
|
||||
%li
|
||||
|
|
|
|||
Loading…
Reference in a new issue