Skip to content

Commit

Permalink
Use correct ivar and remove #organizations from `street_addresses/s…
Browse files Browse the repository at this point in the history
…how.erb`
  • Loading branch information
moozzi authored and postmodern committed May 22, 2024
1 parent afb8075 commit 496bd88
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions views/db/street_addresses/show.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<tr>
<td><strong>People:</strong></td>
<td>
<% @street_number.people.each do |person| %>
<% @street_address.people.each do |person| %>
<p>
<a href="/db/people/<%=h person.id %>">
<%=h person %>
Expand All @@ -57,19 +57,6 @@
<% end %>
</td>
</tr>

<tr>
<td><strong>Organizations:</strong></td>
<td>
<% @street_number.organizations.each do |organization| %>
<p>
<a href="/db/organizations/<%=h organization.id %>">
<%=h organization %>
</a>
</p>
<% end %>
</td>
</tr>
</tbody>
</table>

Expand Down

0 comments on commit 496bd88

Please sign in to comment.