aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_view_overview.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index f31bc4552c..74f95bfcfd 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -1591,16 +1591,11 @@ Returns meta tags "csrf-param" and "csrf-token" with the name of the cross-site
request forgery protection parameter and token, respectively.
```html
- <%= csrf_meta_tags %>
+<%= csrf_meta_tags %>
```
-These are used to generate the dynamic forms that implement non-remote links
-with `:method`.
-
-Note that regular forms generate hidden fields, and that Ajax calls are
-whitelisted, so they do not use these tags.
-
-More details can be found in the [Rails Security Guide](security.html).
+NOTE: Regular forms generate hidden fields so they do not use these tags. More
+details can be found in the [Rails Security Guide](security.html#cross-site-request-forgery-csrf).
Localized Views
---------------