diff options
author | James Miller <james@jk-tech.com> | 2010-04-06 16:36:43 -0700 |
---|---|---|
committer | James Miller <james@jk-tech.com> | 2010-04-06 16:36:43 -0700 |
commit | beca1af820fab74a6ea26cb906d6c5e0116b7f8c (patch) | |
tree | cc3e03865be3741cbc69bbb3f64c7c6b559daacb /railties/guides/source/action_controller_overview.textile | |
parent | 4c4fd1a60ff1c060e76e9ee540074756510f53ea (diff) | |
download | rails-beca1af820fab74a6ea26cb906d6c5e0116b7f8c.tar.gz rails-beca1af820fab74a6ea26cb906d6c5e0116b7f8c.tar.bz2 rails-beca1af820fab74a6ea26cb906d6c5e0116b7f8c.zip |
ERB update for AC overview guide
Diffstat (limited to 'railties/guides/source/action_controller_overview.textile')
-rw-r--r-- | railties/guides/source/action_controller_overview.textile | 4 |
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: |