diff options
Diffstat (limited to 'app/views/teams/index.html.erb')
-rw-r--r-- | app/views/teams/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/teams/index.html.erb b/app/views/teams/index.html.erb index b077e10..397bfc6 100644 --- a/app/views/teams/index.html.erb +++ b/app/views/teams/index.html.erb @@ -14,7 +14,7 @@ <tr> <td><%= link_to 'Show', team %></td> <td><%= link_to 'Edit', edit_team_path(team) %></td> - <td><%= link_to 'Destroy', team, method: :delete, data: { confirm: 'Are you sure?' } %></td> + <td><%= button_to 'Destroy', team, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> |