aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-06-16 18:07:46 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-06-16 18:07:46 -0500
commita7a4e91577e832e9bf902bdb704e87de9a42d56e (patch)
treecc0ac98aed52ff1476f4bd8d07ee68e67b4d99ea
parent4d2eb49d96ca4ab810ecbcbb10f9052c00dd6eb4 (diff)
downloadrails-a7a4e91577e832e9bf902bdb704e87de9a42d56e.tar.gz
rails-a7a4e91577e832e9bf902bdb704e87de9a42d56e.tar.bz2
rails-a7a4e91577e832e9bf902bdb704e87de9a42d56e.zip
change not valid syntax [ci-skip]
-rw-r--r--guides/source/ajax_on_rails.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/ajax_on_rails.textile b/guides/source/ajax_on_rails.textile
index 0787e65068..c7b0527012 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