Skip to content

Commit d3f471f

Browse files
Merge pull request rails#54289 from seanpdoyle/csrf-doc-formatting
Doc: Format CSRF argument lists [ci skip]
2 parents 34ebdf9 + 93318ef commit d3f471f

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)