Skip to content

Commit

Permalink
fix delete button
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklynhma committed Oct 19, 2023
1 parent a86b07a commit b9b86fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/intro-to-rails/allow_people_to_vote.step
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ steps {
<td><%= button_to '+1', upvote_topic_path(topic), method: :post %></td>
<td><%= link_to 'Show', topic %></td>
<td><%= link_to 'Edit', edit_topic_path(topic) %></td>
<td><%= link_to 'Destroy', topic, method: :delete, data: { confirm: 'Are you sure?' } %></td>
<td><%= link_to 'Delete', topic, data: { turbo_method: :delete, turbo_confirm: 'Are you sure?' } %></td>
</tr>
<% end %>

Expand Down

0 comments on commit b9b86fe

Please sign in to comment.