diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-08 11:38:25 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-08 11:38:25 -0700 |
commit | e7f0d37c91c91a6b2f2a1232c1a670e59165dc19 (patch) | |
tree | b2742dc52fdf68601bb50130e536e471addbf9bc /actionpack/lib | |
parent | 36129f21b86db4bd69e932e586129e246c2a5ca8 (diff) | |
download | rails-e7f0d37c91c91a6b2f2a1232c1a670e59165dc19.tar.gz rails-e7f0d37c91c91a6b2f2a1232c1a670e59165dc19.tar.bz2 rails-e7f0d37c91c91a6b2f2a1232c1a670e59165dc19.zip |
Remove superfluous condition
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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") |