Permalink
Browse files

Close form_for tag in FormHelper API docs

  • Loading branch information...
alexmuller committed Apr 13, 2017
1 parent faca40d commit e12745640ca75c730fdcd5d709e86612abb252c9
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionview/lib/action_view/helpers/form_helper.rb
@@ -416,13 +416,13 @@ module FormHelper
#
# 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)

0 comments on commit e127456

Please sign in to comment.