diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-01 22:25:52 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-01 22:25:52 +0530 |
commit | d2c64009482d38d4894dd09d2d1e2fb4a165ecac (patch) | |
tree | 42a4fa8d1b49d596c53b94ca21646f05418d3c67 /railties/guides/source/form_helpers.textile | |
parent | de0043d794e8ba05a15d28db76e7deaf847183a2 (diff) | |
parent | e1dbcdcacf62d13914c9e7ec71f0f7319ad32b4a (diff) | |
download | rails-d2c64009482d38d4894dd09d2d1e2fb4a165ecac.tar.gz rails-d2c64009482d38d4894dd09d2d1e2fb4a165ecac.tar.bz2 rails-d2c64009482d38d4894dd09d2d1e2fb4a165ecac.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/form_helpers.textile')
-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 %> |