Permalink
Browse files

Remove superfluous condition

  • Loading branch information...
jeremy committed Apr 8, 2010
1 parent 36129f2 commit e7f0d37c91c91a6b2f2a1232c1a670e59165dc19
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -386,7 +386,7 @@ def submit_tag(value = "Save changes", options = {})
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")

0 comments on commit e7f0d37

Please sign in to comment.