aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorYing Tsen Hong <tsenying@gmail.com>2012-01-30 16:50:17 -0700
committerYing Tsen Hong <tsenying@gmail.com>2012-01-30 16:50:17 -0700
commit39ace1332bac5b81a2f0e715a8fe89d943ccc5f4 (patch)
tree64e47b79c5823a116b707b014790da4078a46dc7 /railties
parentbc2e0624aed9b0396fe0e85ba2b52fd7a76657c7 (diff)
downloadrails-39ace1332bac5b81a2f0e715a8fe89d943ccc5f4.tar.gz
rails-39ace1332bac5b81a2f0e715a8fe89d943ccc5f4.tar.bz2
rails-39ace1332bac5b81a2f0e715a8fe89d943ccc5f4.zip
Fixed typo. "from" should be "form".
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/form_helpers.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/form_helpers.textile b/railties/guides/source/form_helpers.textile
index 1681629620..9758b639cf 100644
--- a/railties/guides/source/form_helpers.textile
+++ b/railties/guides/source/form_helpers.textile
@@ -754,7 +754,7 @@ produces exactly the same output as the previous example.
h3. Forms to external resources
-If you need to post some data to an external resource it is still great to build your from using rails form helpers. But sometimes you need to set an +authenticity_token+ for this resource. You can do it by passing an +:authenticity_token => 'your_external_token'+ parameter to the +form_tag+ options:
+If you need to post some data to an external resource it is still great to build your form using rails form helpers. But sometimes you need to set an +authenticity_token+ for this resource. You can do it by passing an +:authenticity_token => 'your_external_token'+ parameter to the +form_tag+ options:
<erb>
<%= form_tag 'http://farfar.away/form', :authenticity_token => 'external_token') do %>