From 06c1d2e9e3c3b7bb9b25c2dc08eebb058b7d39d1 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Thu, 15 Oct 2015 09:49:07 +0200 Subject: [PATCH] Compare person id in people show view closes #6505 --- app/views/people/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index e368449d2..483e0b3d0 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -23,7 +23,7 @@ .stream_container - - if user_signed_in? && current_user.person == @person + - if user_signed_in? && current_user.person.id == @person.id = render 'publisher/publisher', publisher_aspects_for(nil) #main_stream.stream