1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix example with data: { disable-with: '' } [ci skip]

This commit is contained in:
Francesco Rodriguez 2012-06-16 17:59:05 -05:00
parent 15a63052dc
commit 4d2eb49d96

View file

@ -107,7 +107,7 @@ will produce
<ruby> <ruby>
button_to 'Destroy', 'http://www.example.com', confirm: 'Are you sure?', button_to 'Destroy', 'http://www.example.com', confirm: 'Are you sure?',
method: 'delete', remote: true, 'data-disable-with' => 'loading...') method: 'delete', remote: true, data: { disable-with: 'loading...' }
</ruby> </ruby>
will produce will produce