From 2aff1d71fe691b56dcf91ab9a7c84e0345dc4b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Tue, 27 Dec 2016 17:47:27 +0100 Subject: [PATCH] makes count uniq --- app/views/admin/poll/polls/_filter_subnav.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/poll/polls/_filter_subnav.html.erb b/app/views/admin/poll/polls/_filter_subnav.html.erb index 751541beb..dc192be5f 100644 --- a/app/views/admin/poll/polls/_filter_subnav.html.erb +++ b/app/views/admin/poll/polls/_filter_subnav.html.erb @@ -14,7 +14,7 @@
  • <%= link_to "#tab-officers" do %> <%= t("admin.polls.show.officers_tab") %> - (<%= @poll.officers.count %>) + (<%= @poll.officers.uniq.count %>) <% end %>