Permalink
Browse files

ERB update for AC overview guide

  • Loading branch information...
1 parent 4c4fd1a commit beca1af820fab74a6ea26cb906d6c5e0116b7f8c @bensie bensie committed Apr 6, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/guides/source/action_controller_overview.textile
View
4 railties/guides/source/action_controller_overview.textile
@@ -492,10 +492,10 @@ The way this is done is to add a non-guessable token which is only known to your
If you generate a form like this:
<ruby>
-<% form_for @user do |f| -%>
+<%= form_for @user do |f| %>
<%= f.text_field :username %>
<%= f.text_field :password -%>
-<% end -%>
+<% end %>
</ruby>
You will see how the token gets added as a hidden field:

0 comments on commit beca1af

Please sign in to comment.