From dcabc6c04301a44d875447e4f88534ca04a538d6 Mon Sep 17 00:00:00 2001 From: thedarkone Date: Sun, 26 Sep 2010 14:24:48 +0200 Subject: Remove dead code. --- actionpack/lib/action_view/helpers/url_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_view/helpers/url_helper.rb') 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 -- cgit v1.2.3