aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorBob Remeika <bob.remeika@gmail.com>2009-10-07 19:51:40 -0700
committerStefan Penner <stefan.penner@gmail.com>2010-01-27 12:44:30 -0600
commitbd65e7f73d6aba48d4baadba916f1652a6c8aade (patch)
tree7bb6f0e2ff459022c16b2ff723557f03d9c9242c /actionpack/lib
parent631537a25d8158085657b10357072873646e0cb5 (diff)
downloadrails-bd65e7f73d6aba48d4baadba916f1652a6c8aade.tar.gz
rails-bd65e7f73d6aba48d4baadba916f1652a6c8aade.tar.bz2
rails-bd65e7f73d6aba48d4baadba916f1652a6c8aade.zip
Changed data-remote='true' to data-js-type='remote'
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/ajax_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/ajax_helper.rb b/actionpack/lib/action_view/helpers/ajax_helper.rb
index 92e1d916c9..e4684c4992 100644
--- a/actionpack/lib/action_view/helpers/ajax_helper.rb
+++ b/actionpack/lib/action_view/helpers/ajax_helper.rb
@@ -25,7 +25,7 @@ module ActionView
attributes["data-update-position"] = options.delete(:position)
attributes["data-method"] = options.delete(:method)
- attributes["data-remote"] = true
+ attributes["data-js-type"] = "remote"
attributes
end