diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers/tag_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/tag_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb index dc71826614..13aa9297ca 100644 --- a/actionpack/lib/action_view/helpers/tag_helper.rb +++ b/actionpack/lib/action_view/helpers/tag_helper.rb @@ -24,7 +24,7 @@ module ActionView # Starts a form tag that points the action to an url configured with <tt>url_for_options</tt> just like # ActionController::Base#url_for. def form_tag(url_for_options = {}, options = {}, *parameters_for_url) - html_options = { "method" => "POST" }.merge(options) + html_options = { "method" => "post" }.merge(options) if html_options[:multipart] html_options["enctype"] = "multipart/form-data" @@ -56,4 +56,4 @@ module ActionView end end end -end
\ No newline at end of file +end |