summaryrefslogtreecommitdiff
path: root/app/views/games/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/games/index.html.erb')
-rw-r--r--app/views/games/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/games/index.html.erb b/app/views/games/index.html.erb
index f12253c..5a1a270 100644
--- a/app/views/games/index.html.erb
+++ b/app/views/games/index.html.erb
@@ -28,7 +28,7 @@
<td><%= game.scoring_method %></td>
<td><%= link_to 'Show', game %></td>
<td><%= link_to 'Edit', edit_game_path(game) %></td>
- <td><%= link_to 'Destroy', game, method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ <td><%= button_to 'Destroy', game, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>