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