makes count uniq

This commit is contained in:
Juanjo Bazán
2016-12-27 17:47:27 +01:00
parent 40f6ca5886
commit 2aff1d71fe

View File

@@ -14,7 +14,7 @@
<li class="tabs-title">
<%= link_to "#tab-officers" do %>
<%= t("admin.polls.show.officers_tab") %>
(<%= @poll.officers.count %>)
(<%= @poll.officers.uniq.count %>)
<% end %>
</li>
</ul>