hot fix to load last poll on officer's index

This commit is contained in:
rgarcia
2016-09-19 17:25:51 +02:00
parent 4872c7a4e8
commit 118d163979

View File

@@ -27,7 +27,7 @@
<td class="text-right">
<% if officer.persisted? %>
<%= link_to t('admin.poll_officers.officer.delete'),
admin_poll_officer_path(officer),
admin_poll_officer_path(Poll.last, officer),
method: :delete,
class: "button hollow alert"
%>