aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Miller <james@jk-tech.com>2010-04-06 16:36:43 -0700
committerJames Miller <james@jk-tech.com>2010-04-06 16:36:43 -0700
commitbeca1af820fab74a6ea26cb906d6c5e0116b7f8c (patch)
treecc3e03865be3741cbc69bbb3f64c7c6b559daacb
parent4c4fd1a60ff1c060e76e9ee540074756510f53ea (diff)
downloadrails-beca1af820fab74a6ea26cb906d6c5e0116b7f8c.tar.gz
rails-beca1af820fab74a6ea26cb906d6c5e0116b7f8c.tar.bz2
rails-beca1af820fab74a6ea26cb906d6c5e0116b7f8c.zip
ERB update for AC overview guide
-rw-r--r--railties/guides/source/action_controller_overview.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/action_controller_overview.textile b/railties/guides/source/action_controller_overview.textile
index bedca59c12..e193c57935 100644
--- a/railties/guides/source/action_controller_overview.textile
+++ b/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: