From 711c2280c6790c530ac42e5c6b05d8800a194789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Sun, 12 Feb 2017 20:10:02 +0100 Subject: [PATCH] avoids duplicate entries in officers list --- app/views/admin/poll/polls/_officers.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/poll/polls/_officers.html.erb b/app/views/admin/poll/polls/_officers.html.erb index 7acb7568b..1ef6f32cc 100644 --- a/app/views/admin/poll/polls/_officers.html.erb +++ b/app/views/admin/poll/polls/_officers.html.erb @@ -12,7 +12,7 @@ <%= t("admin.actions.actions") %> - <% @poll.officers.each do |officer| %> + <% @poll.officers.uniq.each do |officer| %>