diff options
author | Waynn Lue <WLGades@gmail.com> | 2011-07-29 17:07:27 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:25 -0700 |
commit | 759815547bf85167e97b3cdbff2f1e8d33e218e4 (patch) | |
tree | efdcb968f7a4b9e745d5783c07137549333b8a12 | |
parent | 48fce08bb3606b989a20f5e60f9243e627099339 (diff) | |
download | rails-759815547bf85167e97b3cdbff2f1e8d33e218e4.tar.gz rails-759815547bf85167e97b3cdbff2f1e8d33e218e4.tar.bz2 rails-759815547bf85167e97b3cdbff2f1e8d33e218e4.zip |
remove redundant calls to stringify_keys
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index 822686b09d..79f07400b2 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -417,7 +417,7 @@ module ActionView options["data-confirm"] = confirm end - tag :input, { "type" => "submit", "name" => "commit", "value" => value }.update(options.stringify_keys) + tag :input, { "type" => "submit", "name" => "commit", "value" => value }.update(options) end # Creates a button element that defines a <tt>submit</tt> button, @@ -503,7 +503,7 @@ module ActionView options["data-confirm"] = confirm end - tag :input, { "type" => "image", "src" => path_to_image(source) }.update(options.stringify_keys) + tag :input, { "type" => "image", "src" => path_to_image(source) }.update(options) end # Creates a field set for grouping HTML form elements. |