diff --git a/app/views/people/_profile.html.haml b/app/views/people/_profile.html.haml index 5f842803e..c27114be8 100644 --- a/app/views/people/_profile.html.haml +++ b/app/views/people/_profile.html.haml @@ -5,7 +5,7 @@ %turbo-frame{id: "#{dom_id @person}"} %div.d-flex.flex-xl-row.flex-column %div.col-xl-3.col-12 - %img.rounded-circle{src: picture_person_path(Person.first, timestamp:Time.now.to_f), width: '141', height: '141'} + %img.rounded-circle{src: picture_person_path(@person, timestamp:Time.now.to_f), width: '141', height: '141'} %div.mt-3 = edit_action_link %div.pe-5.col-xl-3.col-12