提交 daeaac70 编写于 作者: K Kasper Timm Hansen

[ci skip] Fix constrain_to documentation.

Forgot to update the documentation on the line just above the one
I was changing in 49331322. Well done, Kasper 👍
上级 49331322
......@@ -35,7 +35,7 @@ module ActionDispatch
# expire HSTS immediately. Setting `hsts: false` is a shortcut for
# `hsts: { expires: 0 }`.
#
# Redirection can be constrained to only whitelisted requests with `constrain_to`:
# Requests can opt-out of redirection with `exclude`:
#
# config.ssl_options = { redirect: { exclude: -> request { request.path =~ /healthcheck/ } } }
class SSL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册