aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_tag_helper.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-09-03 17:58:47 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-09-03 17:58:47 +0100
commit6ef35461dc7148ce37ed602d65a24f6c883fd044 (patch)
treec190505eaa8b98b4fcae4403bdd4776957d07785 /actionpack/lib/action_view/helpers/form_tag_helper.rb
parent10fe6a6d8940300dd6698ec38e9c9573404e687d (diff)
downloadrails-6ef35461dc7148ce37ed602d65a24f6c883fd044.tar.gz
rails-6ef35461dc7148ce37ed602d65a24f6c883fd044.tar.bz2
rails-6ef35461dc7148ce37ed602d65a24f6c883fd044.zip
Merge docrails
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_tag_helper.rb4
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 e8ca02d760..e5777b71d7 100644
--- a/actionpack/lib/action_view/helpers/form_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -155,10 +155,10 @@ module ActionView
# Creates a file upload field. If you are using file uploads then you will also need
# to set the multipart option for the form tag:
#
- # <%= form_tag { :action => "post" }, { :multipart => true } %>
+ # <% form_tag '/upload', :multipart => true do %>
# <label for="file">File to Upload</label> <%= file_field_tag "file" %>
# <%= submit_tag %>
- # <%= end_form_tag %>
+ # <% end %>
#
# The specified URL will then be passed a File object containing the selected file, or if the field
# was left blank, a StringIO object.