aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/url_helper.rb
diff options
context:
space:
mode:
authorthedarkone <thedarkone2@gmail.com>2010-09-26 14:24:48 +0200
committerthedarkone <thedarkone2@gmail.com>2010-09-27 17:46:00 +0200
commitdcabc6c04301a44d875447e4f88534ca04a538d6 (patch)
treede1179f35a038cf93d2673494ddfc15183d7ce0c /actionpack/lib/action_view/helpers/url_helper.rb
parent7d9f605f8072ef473e2c30800b91493b56af5b2b (diff)
downloadrails-dcabc6c04301a44d875447e4f88534ca04a538d6.tar.gz
rails-dcabc6c04301a44d875447e4f88534ca04a538d6.tar.bz2
rails-dcabc6c04301a44d875447e4f88534ca04a538d6.zip
Remove dead code.
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, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index 8d1def05de..98ea75502f 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -591,9 +591,9 @@ module ActionView
html_options['data-remote'] = 'true'
end
- confirm = html_options.delete("confirm")
- method, href = html_options.delete("method"), html_options['href']
+ confirm = html_options.delete('confirm')
+ method = html_options.delete('method')
add_confirm_to_attributes!(html_options, confirm) if confirm
add_method_to_attributes!(html_options, method) if method