aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Odorcic <denis.odorcic@gmail.com>2010-03-19 19:22:29 -0400
committerJosé Valim <jose.valim@gmail.com>2010-03-21 19:31:59 +0100
commitb7adec3563c18247db85ddae189c0b2fd65975a9 (patch)
tree12714e428beb923845b90abd3e9fcc5f3d74d251
parent0137566c8585a8973479a1e4586ae26b6c7ee793 (diff)
downloadrails-b7adec3563c18247db85ddae189c0b2fd65975a9.tar.gz
rails-b7adec3563c18247db85ddae189c0b2fd65975a9.tar.bz2
rails-b7adec3563c18247db85ddae189c0b2fd65975a9.zip
Remove data-url support from url_helper [#4236 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index 79232e297f..bc7302ef9e 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -586,8 +586,6 @@ module ActionView
add_confirm_to_attributes!(html_options, confirm) if confirm
add_method_to_attributes!(html_options, method) if method
- html_options["data-url"] = options[:url] if options.is_a?(Hash) && options[:url]
-
html_options
end