diff options
author | Alex Muller <alex@mullr.net> | 2017-04-13 17:44:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 17:44:36 +0100 |
commit | e12745640ca75c730fdcd5d709e86612abb252c9 (patch) | |
tree | f60b3f6e117ce5aec9f480e0752b1f44b5f24e12 /actionview/lib | |
parent | faca40dfd4032bbe2373210255eb7aa1c6527503 (diff) | |
download | rails-e12745640ca75c730fdcd5d709e86612abb252c9.tar.gz rails-e12745640ca75c730fdcd5d709e86612abb252c9.tar.bz2 rails-e12745640ca75c730fdcd5d709e86612abb252c9.zip |
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) |