Skip to content

Conversation

@jimmywang54
Copy link

<td><%= link_to 'Destroy', article_path(article), method: :delete, data: { confirm: 'Are you sure?' } %></td>

The code snippet no longer works, need to update to
<td><%=link_to 'Destroy', article_path(article), data: {turbo_method: :delete, turbo_confirm: 'Are you sure?'} %></td>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant