aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/ajax_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/helpers/ajax_helper.rb')
-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