Rename age_groups method

The name was confusing because it seemed to return a list of age groups.
This commit is contained in:
Javi Martín
2019-01-04 19:20:07 +01:00
parent c4c0301f3f
commit 4d520a3a47
4 changed files with 21 additions and 17 deletions

View File

@@ -140,7 +140,7 @@
</tr>
</thead>
<tbody>
<% @stats[:age_groups].values.each do |group| %>
<% @stats[:participants_by_age].values.each do |group| %>
<tr>
<td><%= group[:range] %></td>
<td>