diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-06-16 17:59:05 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-06-16 17:59:20 -0500 |
commit | 4d2eb49d96ca4ab810ecbcbb10f9052c00dd6eb4 (patch) | |
tree | 1a06b061342296f748ac4a2ab7a40afedba9b738 /guides/source/ajax_on_rails.textile | |
parent | 15a63052dc30e681a84f491264a8dbe8ec699158 (diff) | |
download | rails-4d2eb49d96ca4ab810ecbcbb10f9052c00dd6eb4.tar.gz rails-4d2eb49d96ca4ab810ecbcbb10f9052c00dd6eb4.tar.bz2 rails-4d2eb49d96ca4ab810ecbcbb10f9052c00dd6eb4.zip |
fix example with data: { disable-with: '' } [ci skip]
Diffstat (limited to 'guides/source/ajax_on_rails.textile')
-rw-r--r-- | guides/source/ajax_on_rails.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/ajax_on_rails.textile b/guides/source/ajax_on_rails.textile index 1c502111d9..0787e65068 100644 --- a/guides/source/ajax_on_rails.textile +++ b/guides/source/ajax_on_rails.textile @@ -107,7 +107,7 @@ will produce <ruby> 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> will produce |