diff options
author | Mikhail Dieterle <MikDiet@gmail.com> | 2011-06-22 03:04:28 -0700 |
---|---|---|
committer | Mikhail Dieterle <MikDiet@gmail.com> | 2011-06-22 03:04:28 -0700 |
commit | 98623a061ef56aa8427067b90b26f5b3b6151133 (patch) | |
tree | 1d14acdd657b3634f18c592365373f12d010a80f /railties | |
parent | db4f0ac025a53017b35337f81e1096a58fdce1fb (diff) | |
download | rails-98623a061ef56aa8427067b90b26f5b3b6151133.tar.gz rails-98623a061ef56aa8427067b90b26f5b3b6151133.tar.bz2 rails-98623a061ef56aa8427067b90b26f5b3b6151133.zip |
Fixed typo
Diffstat (limited to 'railties')
-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 c7e45c0a23..4314d00f2e 100644 --- a/railties/guides/source/form_helpers.textile +++ b/railties/guides/source/form_helpers.textile @@ -777,7 +777,7 @@ If you need to post some data to an external resource it is still great to build Sometimes when you submit data to an external resource, like payment gateway, fields you can use in your form are limited by an external API. So you may want not to generate an +authenticity_token+ hidden field at all. For doing this just pass +false+ to the +:authenticity_token+ option: <erb> -<%= form_tag 'http://farfar.away/form', :authenticity_token => 'external_token') do %> +<%= form_tag 'http://farfar.away/form', :authenticity_token => false) do %> Form contents <% end %> </erb> |