RS, IZ, fixing error on person show with no posts
This commit is contained in:
parent
e7ef3c06ed
commit
0fd35709b1
1 changed files with 3 additions and 2 deletions
|
|
@ -10,6 +10,7 @@
|
|||
.button.right
|
||||
= link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete
|
||||
|
||||
-unless @person_posts.first.nil?
|
||||
%li
|
||||
%i= "last seen: #{how_long_ago(@person_posts.first)}"
|
||||
%li
|
||||
|
|
|
|||
Loading…
Reference in a new issue