mirror of https://github.com/rails/rails
Update working_with_javascript_in_rails.md
This commit is contained in:
parent
8ec7455385
commit
0a7749818e
|
@ -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>
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue