Fixed wrong officer action path

Before this change, when a user searched for an officer already assigned the ui was blocked because that path wasn't correct.
This commit is contained in:
María Checa
2017-09-28 17:47:50 +02:00
parent 1e0aec37ab
commit 14fe771fa5

View File

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