mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
remove redundant calls to stringify_keys
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user