diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb index e498e8bd5..265a2a5f6 100644 --- a/app/controllers/people_controller.rb +++ b/app/controllers/people_controller.rb @@ -47,7 +47,6 @@ class PeopleController < ApplicationController if @person @incoming_request = Request.to(current_user).from(@person).first - @outgoing_request = Request.from(current_user).to(@person).first @profile = @person.profile @contact = current_user.contact_for(@person) diff --git a/app/views/people/_profile_sidebar.html.haml b/app/views/people/_profile_sidebar.html.haml index 58a505ef3..ce85cc2ce 100644 --- a/app/views/people/_profile_sidebar.html.haml +++ b/app/views/people/_profile_sidebar.html.haml @@ -35,7 +35,7 @@ %br %hr{:style=>"width:300px;"} - -if (contact && !contact.pending?) || person == current_user.person + -if (contact && !contact.pending?) || person == current_user.person || @incoming_request %ul#profile_information %li %h3 #{t('.bio')}