diff options
author | Patrick Davey <Patrick@egressive.com> | 2012-01-31 13:26:49 +1300 |
---|---|---|
committer | Patrick Davey <Patrick@egressive.com> | 2012-01-31 13:26:49 +1300 |
commit | f457f872414313fc0bb165a87e91fcea30edc873 (patch) | |
tree | e7fd399f5d26dc6e43272f3c9788084efb656d9f /railties/guides/source | |
parent | 5be94cedce3f80923661a2f1fee02c9bfc2e95b2 (diff) | |
parent | 39ace1332bac5b81a2f0e715a8fe89d943ccc5f4 (diff) | |
download | rails-f457f872414313fc0bb165a87e91fcea30edc873.tar.gz rails-f457f872414313fc0bb165a87e91fcea30edc873.tar.bz2 rails-f457f872414313fc0bb165a87e91fcea30edc873.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/form_helpers.textile | 2 |
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 %> |