Update working_with_javascript_in_rails.md

This commit is contained in:
Cremesis 2022-05-12 10:12:22 +02:00 committed by GitHub
parent 8ec7455385
commit 0a7749818e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -274,5 +274,5 @@ trigger it on submit. For example:
This generates:
```html
<a href="..." data-confirm="Are you sure?" data-turbo-method="delete">Delete post</a>
<a href="..." data-turbo-confirm="Are you sure?" data-turbo-method="delete">Delete post</a>
```