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:29 -0600
commitefb70f0f9fa1a33363f8eabb58caf707cba8382d (patch)
tree0275e18e6f85154019fc8e8afb4d598199f12742 /actionpack/lib
parent29811533b457c2926c23fa07de64fdc0b8d0e7af (diff)
downloadrails-efb70f0f9fa1a33363f8eabb58caf707cba8382d.tar.gz
rails-efb70f0f9fa1a33363f8eabb58caf707cba8382d.tar.bz2
rails-efb70f0f9fa1a33363f8eabb58caf707cba8382d.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 e127641f4f..510980da08 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