explorer_app/app/views/counties/show.html.erb in us_geo-2.0.2 vs explorer_app/app/views/counties/show.html.erb in us_geo-2.0.3
- old
+ new
@@ -46,14 +46,18 @@
<th>Population</th>
<td><%= formatted_number(@county.population) %></td>
</tr>
<tr>
<th>Population Density</th>
- <td><%= population_density(@county) %></td>
+ <td><%= density(@county.population_density) %></td>
</tr>
<tr>
<th>Housing Units</th>
<td><%= formatted_number(@county.housing_units) %></td>
+ </tr>
+ <tr>
+ <th>Housing Density</th>
+ <td><%= density(@county.housing_density) %></td>
</tr>
<tr>
<th>Land Area (mi<sup>2</sup>)</th>
<td><%= formatted_number(@county.land_area, round: 0) %></td>
</tr>