diff options
author | James Miller <james@jk-tech.com> | 2010-04-06 16:36:43 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-04-09 04:45:02 -0700 |
commit | 42d3764b3ddc67ac5818deff06b7dfbcdd95e834 (patch) | |
tree | 7b9d757ab06353876bf4e5d9a48badd164c1d572 /railties/guides/source/action_controller_overview.textile | |
parent | 773b2f0c9bdb7d27c0c18e000183c0ca8e56063d (diff) | |
download | rails-42d3764b3ddc67ac5818deff06b7dfbcdd95e834.tar.gz rails-42d3764b3ddc67ac5818deff06b7dfbcdd95e834.tar.bz2 rails-42d3764b3ddc67ac5818deff06b7dfbcdd95e834.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: |