From 1651dcbda862a7f8e0a9d3c5129b290aecb0b663 Mon Sep 17 00:00:00 2001 From: AI-Mozi Date: Wed, 22 May 2024 14:57:30 +0200 Subject: [PATCH] Use correct ivar and remove `#organizations` from `street_addresses/show.erb` --- views/db/street_addresses/show.erb | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/views/db/street_addresses/show.erb b/views/db/street_addresses/show.erb index 2edef69..8886bb1 100644 --- a/views/db/street_addresses/show.erb +++ b/views/db/street_addresses/show.erb @@ -48,7 +48,7 @@ People: - <% @street_number.people.each do |person| %> + <% @street_address.people.each do |person| %>

<%=h person %> @@ -57,19 +57,6 @@ <% end %> - - - Organizations: - - <% @street_number.organizations.each do |organization| %> -

- - <%=h organization %> - -

- <% end %> - -