summaryrefslogtreecommitdiff
path: root/app/views/alerts/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/alerts/index.html.erb')
-rw-r--r--app/views/alerts/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/alerts/index.html.erb b/app/views/alerts/index.html.erb
index c978bea..5695486 100644
--- a/app/views/alerts/index.html.erb
+++ b/app/views/alerts/index.html.erb
@@ -19,7 +19,7 @@
<td><%= alert.message %></td>
<td><%= link_to 'Show', alert %></td>
<td><%= link_to 'Edit', edit_alert_path(alert) %></td>
- <td><%= link_to 'Destroy', alert, method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ <td><%= button_to 'Destroy', alert, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
<% else %>