aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/url_helper.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-01-30 20:22:15 -0600
committerJoshua Peek <josh@joshpeek.com>2010-01-30 20:22:15 -0600
commit31820b9dd60dc94744028b41f818f1fdab36e271 (patch)
tree0ee6452adf0d0a079d1e9daa0af73963513098d2 /actionpack/lib/action_view/helpers/url_helper.rb
parent392817cf11e2e840eb564dd4f8713092cff167f8 (diff)
downloadrails-31820b9dd60dc94744028b41f818f1fdab36e271.tar.gz
rails-31820b9dd60dc94744028b41f818f1fdab36e271.tar.bz2
rails-31820b9dd60dc94744028b41f818f1fdab36e271.zip
Generate UJS code for :disable_with
Diffstat (limited to 'actionpack/lib/action_view/helpers/url_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index 9e52275537..7d42a2ef69 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -588,10 +588,6 @@ module ActionView
html_options["data-method"] = method if method
end
- def add_disable_with_to_attributes!(html_options, disable_with)
- html_options["data-disable-with"] = disable_with if disable_with
- end
-
def options_for_javascript(options)
if options.empty?
'{}'