diff options
Diffstat (limited to 'app/views/alerts')
-rw-r--r-- | app/views/alerts/index.html.erb | 2 |
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 %> |