Skip to content

Commit 93318ef

Browse files
committed
Doc: Format CSRF argument lists
Add newlines to the `ActionController::RequestForgeryProtection` method documention to treat `*`-prefixed lines as `<li>` elements.
1 parent 916f984 commit 93318ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

actionpack/lib/action_controller/metal/request_forgery_protection.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ module ClassMethods
149149
#
150150
#
151151
# Built-in unverified request handling methods are:
152+
#
152153
# * `:exception` - Raises ActionController::InvalidAuthenticityToken
153154
# exception.
154155
# * `:reset_session` - Resets the session.
@@ -177,6 +178,7 @@ module ClassMethods
177178
#
178179
#
179180
# Built-in session token strategies are:
181+
#
180182
# * `:session` - Store the CSRF token in the session. Used as default if
181183
# `:store` option is not specified.
182184
# * `:cookie` - Store the CSRF token in an encrypted cookie.

0 commit comments

Comments
 (0)