diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-04-13 13:38:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 13:38:30 -0400 |
commit | 60502d4b8e00e9fe9fd34d49faecd59d6b43ce6c (patch) | |
tree | f60b3f6e117ce5aec9f480e0752b1f44b5f24e12 /actionview/lib | |
parent | faca40dfd4032bbe2373210255eb7aa1c6527503 (diff) | |
parent | e12745640ca75c730fdcd5d709e86612abb252c9 (diff) | |
download | rails-60502d4b8e00e9fe9fd34d49faecd59d6b43ce6c.tar.gz rails-60502d4b8e00e9fe9fd34d49faecd59d6b43ce6c.tar.bz2 rails-60502d4b8e00e9fe9fd34d49faecd59d6b43ce6c.zip |
Merge pull request #28750 from alexmuller/patch-1
Close form_for tag in FormHelper API docs
Diffstat (limited to 'actionview/lib')
-rw-r--r-- | actionview/lib/action_view/helpers/form_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 26a625e4fe..1a419508e5 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -416,13 +416,13 @@ module ActionView # # To set an authenticity token you need to pass an <tt>:authenticity_token</tt> parameter # - # <%= form_for @invoice, url: external_url, authenticity_token: 'external_token' do |f| + # <%= form_for @invoice, url: external_url, authenticity_token: 'external_token' do |f| %> # ... # <% end %> # # If you don't want to an authenticity token field be rendered at all just pass <tt>false</tt>: # - # <%= form_for @invoice, url: external_url, authenticity_token: false do |f| + # <%= form_for @invoice, url: external_url, authenticity_token: false do |f| %> # ... # <% end %> def form_for(record, options = {}, &block) |