From e7f0d37c91c91a6b2f2a1232c1a670e59165dc19 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 8 Apr 2010 11:38:25 -0700 Subject: Remove superfluous condition --- actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index 081c317e0c..67b4e842b1 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -386,7 +386,7 @@ module ActionView options.stringify_keys! if disable_with = options.delete("disable_with") - options["data-disable-with"] = disable_with if disable_with + options["data-disable-with"] = disable_with end if confirm = options.delete("confirm") -- cgit v1.2.3