hot fix to load last poll on officer's index
This commit is contained in:
@@ -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"
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user