Skip to content

Commit 9b5863b

Browse files
committed
Correct closing quotation mark for data-turbo-confirm on button_to example [ci-skip]
1 parent 0bf4f87 commit 9b5863b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/working_with_javascript_in_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,5 +294,5 @@ This generates:
294294
In case of buttons the `data-turbo-confirm` attribute must be associated to the generated form as in this example:
295295

296296
```erb
297-
<%= button_to "Delete post', post, method: :delete, form: { data: { turbo_confirm: "Are you sure?" } } %>
297+
<%= button_to "Delete post", post, method: :delete, form: { data: { turbo_confirm: "Are you sure?" } } %>
298298
```

0 commit comments

Comments
 (0)